/* ** GENEREATED FILE - DO NOT MODIFY ** */
package com.wilutions.mslib.outlook.impl;
import com.wilutions.com.*;
@SuppressWarnings("all")
@CoClass(guid="{C091EA3E-A463-DB41-5DAE-69E7A5F7FCBC}")
public class _OlkSenderPhotoImpl extends Dispatch implements com.wilutions.mslib.outlook._OlkSenderPhoto {
@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 com.wilutions.mslib.outlook.OlMousePointer getMousePointer() throws ComException {
final Object obj = this._dispatchCall(-521,"MousePointer", DISPATCH_PROPERTYGET,null);
if (obj == null) return null;
return com.wilutions.mslib.outlook.OlMousePointer.valueOf((Integer)obj);
}
@DeclDISPID(-521) public void setMousePointer(final com.wilutions.mslib.outlook.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 _OlkSenderPhotoImpl(String progId) throws ComException {
super(progId, "{00067355-0000-0000-C000-000000000046}");
}
protected _OlkSenderPhotoImpl(long ndisp) {
super(ndisp);
}
public String toString() {
return "[_OlkSenderPhotoImpl" + super.toString() + "]";
}
}