/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.outlook;
import com.wilutions.com.*;
/**
* OlkSenderPhoto.
*
*/
@CoClass(guid="{0006F058-0000-0000-C000-000000000046}")
public class OlkSenderPhoto extends Dispatch implements _OlkSenderPhoto {
static boolean __typelib__loaded = __TypeLib.load();
@DeclDISPID(-514) public Boolean getEnabled() throws ComException {
final Object obj = this._dispatchCall(-514,"Enabled", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Boolean)obj;
}
@DeclDISPID(-514) public void setEnabled(final Boolean value) throws ComException {
assert(value != null);
this._dispatchCall(-514,"Enabled", DISPATCH_PROPERTYPUT,value);
}
@DeclDISPID(-522) public com.wilutions.mslib.stdole.Picture getMouseIcon() throws ComException {
final Object obj = this._dispatchCall(-522,"MouseIcon", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return Dispatch.as(obj, com.wilutions.mslib.stdole.impl.PictureImpl.class);
}
@DeclDISPID(-522) public void setMouseIcon(final com.wilutions.mslib.stdole.Picture value) throws ComException {
this._dispatchCall(-522,"MouseIcon", DISPATCH_PROPERTYPUT,Dispatch.param(value));
}
@DeclDISPID(-521) public OlMousePointer getMousePointer() throws ComException {
final Object obj = this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return OlMousePointer.valueOf((Integer)obj);
}
@DeclDISPID(-521) public void setMousePointer(final OlMousePointer value) throws ComException {
assert(value != null);
this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYPUT,value.value);
}
@DeclDISPID(64485) public Integer getPreferredWidth() throws ComException {
final Object obj = this._dispatchCall(64485,"PreferredWidth", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
@DeclDISPID(64486) public Integer getPreferredHeight() throws ComException {
final Object obj = this._dispatchCall(64486,"PreferredHeight", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return (Integer)obj;
}
public OlkSenderPhoto() throws ComException {
super("{0006F058-0000-0000-C000-000000000046}", "{00067355-0000-0000-C000-000000000046}");
}
protected OlkSenderPhoto(long ndisp) {
super(ndisp);
}
public String toString() {
return "[OlkSenderPhoto" + super.toString() + "]";
}
}