com.aspose.cells

Class ImageActiveXControl

public class ImageActiveXControl 
extends ActiveXControl

Represents the image control.

Property Getters/Setters Summary
intgetBackOleColor()
void
setBackOleColor(intvalue)
           Gets and sets the ole color of the background.
intgetBorderOleColor()
void
           Gets and sets the ole color of the background.
intgetBorderStyle()
void
setBorderStyle(intvalue)
           Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
byte[]getData()
Gets and sets the binary data of the control.
FontgetFont()
Represents the font of the control.
intgetForeOleColor()
void
setForeOleColor(intvalue)
           Gets and sets the ole color of the foreground.
doublegetHeight()
void
setHeight(doublevalue)
           Gets and sets the height of the control in unit of points.
intgetIMEMode()
void
setIMEMode(intvalue)
           Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.
booleanisAutoSize()
void
setAutoSize(booleanvalue)
           Indicates whether the control will automatically resize to display its entire contents.
booleanisEnabled()
void
setEnabled(booleanvalue)
           Indicates whether whether the control can receive the focus and respond to user-generated events.
booleanisLocked()
void
setLocked(booleanvalue)
           Indicates whether data in the control is locked for editing.
booleanisTiled()
void
setTiled(booleanvalue)
           Indicates whether the picture is tiled across the background.
booleanisTransparent()
void
setTransparent(booleanvalue)
           Indicates whether the control is transparent.
booleanisVisible()
void
setVisible(booleanvalue)
           Indicates whether this control is visible.
java.lang.StringgetLinkedCell()
void
setLinkedCell(java.lang.Stringvalue)
           Gets and sets the linked cell.
java.lang.StringgetListFillRange()
void
setListFillRange(java.lang.Stringvalue)
           Gets and sets the list fill fange..
byte[]getMouseIcon()
void
setMouseIcon(byte[]value)
           Gets and sets a custom icon to display as the mouse pointer for the control.
intgetMousePointer()
void
setMousePointer(intvalue)
           Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
byte[]getPicture()
void
setPicture(byte[]value)
           Gets and sets the data of the picture.
intgetPictureAlignment()
void
           Gets and sets the alignment of the picture inside the Form or Image. The value of the property is ControlPictureAlignmentType integer constant.
intgetPictureSizeMode()
void
           Gets and sets how to display the picture. The value of the property is ControlPictureSizeMode integer constant.
booleangetShadow()
void
setShadow(booleanvalue)
           Indicates whether to show a shadow.
intgetSpecialEffect()
void
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
intgetTextAlign()
void
setTextAlign(intvalue)
           Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
intgetType()
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
doublegetWidth()
void
setWidth(doublevalue)
           Gets and sets the width of the control in unit of points.
WorkbookgetWorkbook()
Gets the Workbook object.
 

    • Property Getters/Setters Detail

      • getType

        public int getType()
        
        Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
      • isAutoSize/setAutoSize

        public boolean isAutoSize() / public void setAutoSize(boolean value)
        
        Indicates whether the control will automatically resize to display its entire contents.
      • getBorderOleColor/setBorderOleColor

        public int getBorderOleColor() / public void setBorderOleColor(int value)
        
        Gets and sets the ole color of the background.
      • getBorderStyle/setBorderStyle

        public int getBorderStyle() / public void setBorderStyle(int value)
        
        Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
      • getPictureSizeMode/setPictureSizeMode

        public int getPictureSizeMode() / public void setPictureSizeMode(int value)
        
        Gets and sets how to display the picture. The value of the property is ControlPictureSizeMode integer constant.
      • getSpecialEffect/setSpecialEffect

        public int getSpecialEffect() / public void setSpecialEffect(int value)
        
        Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
      • getPicture/setPicture

        public byte[] getPicture() / public void setPicture(byte[] value)
        
        Gets and sets the data of the picture.
      • getPictureAlignment/setPictureAlignment

        public int getPictureAlignment() / public void setPictureAlignment(int value)
        
        Gets and sets the alignment of the picture inside the Form or Image. The value of the property is ControlPictureAlignmentType integer constant.
      • isTiled/setTiled

        public boolean isTiled() / public void setTiled(boolean value)
        
        Indicates whether the picture is tiled across the background.
      • isEnabled/setEnabled

        public boolean isEnabled() / public void setEnabled(boolean value)
        
        Indicates whether whether the control can receive the focus and respond to user-generated events.
      • isLocked/setLocked

        public boolean isLocked() / public void setLocked(boolean value)
        
        Indicates whether data in the control is locked for editing.
      • isTransparent/setTransparent

        public boolean isTransparent() / public void setTransparent(boolean value)
        
        Indicates whether the control is transparent.
      • getIMEMode/setIMEMode

        public int getIMEMode() / public void setIMEMode(int value)
        
        Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.
      • getFont

        public Font getFont()
        
        Represents the font of the control.
      • getTextAlign/setTextAlign

        public int getTextAlign() / public void setTextAlign(int value)
        
        Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
      • getData

        public byte[] getData()
        
        Gets and sets the binary data of the control.
      • getWidth/setWidth

        public double getWidth() / public void setWidth(double value)
        
        Gets and sets the width of the control in unit of points.
      • getHeight/setHeight

        public double getHeight() / public void setHeight(double value)
        
        Gets and sets the height of the control in unit of points.
      • getMouseIcon/setMouseIcon

        public byte[] getMouseIcon() / public void setMouseIcon(byte[] value)
        
        Gets and sets a custom icon to display as the mouse pointer for the control.
      • getMousePointer/setMousePointer

        public int getMousePointer() / public void setMousePointer(int value)
        
        Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
      • getForeOleColor/setForeOleColor

        public int getForeOleColor() / public void setForeOleColor(int value)
        
        Gets and sets the ole color of the foreground. Not applies to Image control.
      • getBackOleColor/setBackOleColor

        public int getBackOleColor() / public void setBackOleColor(int value)
        
        Gets and sets the ole color of the background.
      • isVisible/setVisible

        public boolean isVisible() / public void setVisible(boolean value)
        
        Indicates whether this control is visible.
      • getShadow/setShadow

        public boolean getShadow() / public void setShadow(boolean value)
        
        Indicates whether to show a shadow.
      • getLinkedCell/setLinkedCell

        public java.lang.String getLinkedCell() / public void setLinkedCell(java.lang.String value)
        
        Gets and sets the linked cell.
      • getListFillRange/setListFillRange

        public java.lang.String getListFillRange() / public void setListFillRange(java.lang.String value)
        
        Gets and sets the list fill fange..

    setAutoSize

    public voidsetAutoSize(booleanvalue)
    
    Indicates whether the control will automatically resize to display its entire contents.

    setBorderOleColor

    public voidsetBorderOleColor(intvalue)
    
    Gets and sets the ole color of the background.

    setBorderStyle

    public voidsetBorderStyle(intvalue)
    
    Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.

    setPictureSizeMode

    public voidsetPictureSizeMode(intvalue)
    
    Gets and sets how to display the picture. The value of the property is ControlPictureSizeMode integer constant.

    setSpecialEffect

    public voidsetSpecialEffect(intvalue)
    
    Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

    setPicture

    public voidsetPicture(byte[]value)
    
    Gets and sets the data of the picture.

    setPictureAlignment

    public voidsetPictureAlignment(intvalue)
    
    Gets and sets the alignment of the picture inside the Form or Image. The value of the property is ControlPictureAlignmentType integer constant.

    setTiled

    public voidsetTiled(booleanvalue)
    
    Indicates whether the picture is tiled across the background.

    setEnabled

    public voidsetEnabled(booleanvalue)
    
    Indicates whether whether the control can receive the focus and respond to user-generated events.

    setLocked

    public voidsetLocked(booleanvalue)
    
    Indicates whether data in the control is locked for editing.

    setTransparent

    public voidsetTransparent(booleanvalue)
    
    Indicates whether the control is transparent.

    setIMEMode

    public voidsetIMEMode(intvalue)
    
    Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of the property is InputMethodEditorMode integer constant.

    setTextAlign

    public voidsetTextAlign(intvalue)
    
    Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.

    setWidth

    public voidsetWidth(doublevalue)
    
    Gets and sets the width of the control in unit of points.

    setHeight

    public voidsetHeight(doublevalue)
    
    Gets and sets the height of the control in unit of points.

    setMouseIcon

    public voidsetMouseIcon(byte[]value)
    
    Gets and sets a custom icon to display as the mouse pointer for the control.

    setMousePointer

    public voidsetMousePointer(intvalue)
    
    Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.

    setForeOleColor

    public voidsetForeOleColor(intvalue)
    
    Gets and sets the ole color of the foreground. Not applies to Image control.

    setBackOleColor

    public voidsetBackOleColor(intvalue)
    
    Gets and sets the ole color of the background.

    setVisible

    public voidsetVisible(booleanvalue)
    
    Indicates whether this control is visible.

    setShadow

    public voidsetShadow(booleanvalue)
    
    Indicates whether to show a shadow.

    setLinkedCell

    public voidsetLinkedCell(java.lang.Stringvalue)
    
    Gets and sets the linked cell.

    setListFillRange

    public voidsetListFillRange(java.lang.Stringvalue)
    
    Gets and sets the list fill fange..