ImageActiveXControl

Inheritance: java.lang.Object, com.aspose.cells.ActiveXControlBase, com.aspose.cells.ActiveXControl

public class ImageActiveXControl extends ActiveXControl

Represents the image control.

Methods

MethodDescription
equals(Object arg0)
getBackOleColor()Gets the ole color of the background.
getBorderOleColor()Gets the ole color of the background.
getBorderStyle()Gets the type of border used by the control.
getClass()
getData()Gets the binary data of the control.
getFont()Represents the font of the control.
getForeOleColor()Gets the ole color of the foreground.
getHeight()Gets the height of the control in unit of points.
getIMEMode()Gets the default run-time mode of the Input Method Editor for the control as it receives focus.
getLinkedCell()Gets the linked cell.
getListFillRange()Gets the list fill range.
getMouseIcon()Gets a custom icon to display as the mouse pointer for the control.
getMousePointer()Gets the type of icon displayed as the mouse pointer for the control.
getPicture()Gets the data of the picture.
getPictureAlignment()Gets the alignment of the picture inside the Form or Image.
getPictureSizeMode()Gets how to display the picture.
getShadow()Indicates whether to show a shadow.
getSpecialEffect()Gets the special effect of the control.
getTextAlign()Represents how to align the text used by the control.
getType()Gets the type of the ActiveX control.
getWidth()Gets the width of the control in unit of points.
getWorkbook()Gets the Workbook object.
hashCode()
isAutoSize()Indicates whether the control will automatically resize to display its entire contents.
isEnabled()Indicates whether the control can receive the focus and respond to user-generated events.
isLocked()Indicates whether data in the control is locked for editing.
isTiled()Indicates whether the picture is tiled across the background.
isTransparent()Indicates whether the control is transparent.
isVisible()Indicates whether this control is visible.
notify()
notifyAll()
setAutoSize(boolean value)Indicates whether the control will automatically resize to display its entire contents.
setBackOleColor(int value)Sets the ole color of the background.
setBorderOleColor(int value)Sets the ole color of the background.
setBorderStyle(int value)Sets the type of border used by the control.
setEnabled(boolean value)Indicates whether the control can receive the focus and respond to user-generated events.
setForeOleColor(int value)Sets the ole color of the foreground.
setHeight(double value)Sets the height of the control in unit of points.
setIMEMode(int value)Sets the default run-time mode of the Input Method Editor for the control as it receives focus.
setLinkedCell(String value)Sets the linked cell.
setListFillRange(String value)Sets the list fill range.
setLocked(boolean value)Indicates whether data in the control is locked for editing.
setMouseIcon(byte[] value)Sets a custom icon to display as the mouse pointer for the control.
setMousePointer(int value)Sets the type of icon displayed as the mouse pointer for the control.
setPicture(byte[] value)Sets the data of the picture.
setPictureAlignment(int value)Sets the alignment of the picture inside the Form or Image.
setPictureSizeMode(int value)Sets how to display the picture.
setShadow(boolean value)Indicates whether to show a shadow.
setSpecialEffect(int value)Sets the special effect of the control.
setTextAlign(int value)Represents how to align the text used by the control.
setTiled(boolean value)Indicates whether the picture is tiled across the background.
setTransparent(boolean value)Indicates whether the control is transparent.
setVisible(boolean value)Indicates whether this control is visible.
setWidth(double value)Sets the width of the control in unit of points.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getBackOleColor()

public int getBackOleColor()

Gets the ole color of the background.

Returns: int

getBorderOleColor()

public int getBorderOleColor()

Gets the ole color of the background.

Returns: int

getBorderStyle()

public int getBorderStyle()

Gets the type of border used by the control.

See ControlBorderType.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getData()

public byte[] getData()

Gets the binary data of the control.

Returns: byte[]

getFont()

public Font getFont()

Represents the font of the control.

Returns: Font

getForeOleColor()

public int getForeOleColor()

Gets the ole color of the foreground.

Remarks

Not applies to Image control.

Returns: int

getHeight()

public double getHeight()

Gets the height of the control in unit of points.

Returns: double

getIMEMode()

public int getIMEMode()

Gets the default run-time mode of the Input Method Editor for the control as it receives focus.

See InputMethodEditorMode.

Returns: int

getLinkedCell()

public String getLinkedCell()

Gets the linked cell.

Returns: java.lang.String

getListFillRange()

public String getListFillRange()

Gets the list fill range.

Returns: java.lang.String

getMouseIcon()

public byte[] getMouseIcon()

Gets a custom icon to display as the mouse pointer for the control.

Returns: byte[]

getMousePointer()

public int getMousePointer()

Gets the type of icon displayed as the mouse pointer for the control.

See ControlMousePointerType.

Returns: int

getPicture()

public byte[] getPicture()

Gets the data of the picture.

Returns: byte[]

getPictureAlignment()

public int getPictureAlignment()

Gets the alignment of the picture inside the Form or Image.

See ControlPictureAlignmentType.

Returns: int

getPictureSizeMode()

public int getPictureSizeMode()

Gets how to display the picture.

See ControlPictureSizeMode.

Returns: int

getShadow()

public boolean getShadow()

Indicates whether to show a shadow.

Returns: boolean

getSpecialEffect()

public int getSpecialEffect()

Gets the special effect of the control.

See ControlSpecialEffectType.

Returns: int

getTextAlign()

public int getTextAlign()

Represents how to align the text used by the control.

See TextAlignmentType.

Returns: int

getType()

public int getType()

Gets the type of the ActiveX control.

See ControlType.

Returns: int

getWidth()

public double getWidth()

Gets the width of the control in unit of points.

Returns: double

getWorkbook()

public Workbook getWorkbook()

Gets the Workbook object.

Returns: Workbook

hashCode()

public native int hashCode()

Returns: int

isAutoSize()

public boolean isAutoSize()

Indicates whether the control will automatically resize to display its entire contents.

Returns: boolean

isEnabled()

public boolean isEnabled()

Indicates whether the control can receive the focus and respond to user-generated events.

Returns: boolean

isLocked()

public boolean isLocked()

Indicates whether data in the control is locked for editing.

Returns: boolean

isTiled()

public boolean isTiled()

Indicates whether the picture is tiled across the background.

Returns: boolean

isTransparent()

public boolean isTransparent()

Indicates whether the control is transparent.

Returns: boolean

isVisible()

public boolean isVisible()

Indicates whether this control is visible.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAutoSize(boolean value)

public void setAutoSize(boolean value)

Indicates whether the control will automatically resize to display its entire contents.

Parameters:

ParameterTypeDescription
valueboolean

setBackOleColor(int value)

public void setBackOleColor(int value)

Sets the ole color of the background.

Parameters:

ParameterTypeDescription
valueint

setBorderOleColor(int value)

public void setBorderOleColor(int value)

Sets the ole color of the background.

Parameters:

ParameterTypeDescription
valueint

setBorderStyle(int value)

public void setBorderStyle(int value)

Sets the type of border used by the control.

See ControlBorderType.

Parameters:

ParameterTypeDescription
valueint

setEnabled(boolean value)

public void setEnabled(boolean value)

Indicates whether the control can receive the focus and respond to user-generated events.

Parameters:

ParameterTypeDescription
valueboolean

setForeOleColor(int value)

public void setForeOleColor(int value)

Sets the ole color of the foreground.

Remarks

Not applies to Image control.

Parameters:

ParameterTypeDescription
valueint

setHeight(double value)

public void setHeight(double value)

Sets the height of the control in unit of points.

Parameters:

ParameterTypeDescription
valuedouble

setIMEMode(int value)

public void setIMEMode(int value)

Sets the default run-time mode of the Input Method Editor for the control as it receives focus.

See InputMethodEditorMode.

Parameters:

ParameterTypeDescription
valueint

setLinkedCell(String value)

public void setLinkedCell(String value)

Sets the linked cell.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setListFillRange(String value)

public void setListFillRange(String value)

Sets the list fill range.

Parameters:

ParameterTypeDescription
valuejava.lang.String

setLocked(boolean value)

public void setLocked(boolean value)

Indicates whether data in the control is locked for editing.

Parameters:

ParameterTypeDescription
valueboolean

setMouseIcon(byte[] value)

public void setMouseIcon(byte[] value)

Sets a custom icon to display as the mouse pointer for the control.

Parameters:

ParameterTypeDescription
valuebyte[]

setMousePointer(int value)

public void setMousePointer(int value)

Sets the type of icon displayed as the mouse pointer for the control.

See ControlMousePointerType.

Parameters:

ParameterTypeDescription
valueint

setPicture(byte[] value)

public void setPicture(byte[] value)

Sets the data of the picture.

Parameters:

ParameterTypeDescription
valuebyte[]

setPictureAlignment(int value)

public void setPictureAlignment(int value)

Sets the alignment of the picture inside the Form or Image.

See ControlPictureAlignmentType.

Parameters:

ParameterTypeDescription
valueint

setPictureSizeMode(int value)

public void setPictureSizeMode(int value)

Sets how to display the picture.

See ControlPictureSizeMode.

Parameters:

ParameterTypeDescription
valueint

setShadow(boolean value)

public void setShadow(boolean value)

Indicates whether to show a shadow.

Parameters:

ParameterTypeDescription
valueboolean

setSpecialEffect(int value)

public void setSpecialEffect(int value)

Sets the special effect of the control.

See ControlSpecialEffectType.

Parameters:

ParameterTypeDescription
valueint

setTextAlign(int value)

public void setTextAlign(int value)

Represents how to align the text used by the control.

See TextAlignmentType.

Parameters:

ParameterTypeDescription
valueint

setTiled(boolean value)

public void setTiled(boolean value)

Indicates whether the picture is tiled across the background.

Parameters:

ParameterTypeDescription
valueboolean

setTransparent(boolean value)

public void setTransparent(boolean value)

Indicates whether the control is transparent.

Parameters:

ParameterTypeDescription
valueboolean

setVisible(boolean value)

public void setVisible(boolean value)

Indicates whether this control is visible.

Parameters:

ParameterTypeDescription
valueboolean

setWidth(double value)

public void setWidth(double value)

Sets the width of the control in unit of points.

Parameters:

ParameterTypeDescription
valuedouble

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int