com.aspose.cells

Class LabelActiveXControl

public class LabelActiveXControl 
extends ActiveXControl

Repsents the lable ActiveX control.

Property Getters/Setters Summary
chargetAccelerator()
void
setAccelerator(charvalue)
           Gets and sets the accelerator key for the control.
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.
java.lang.StringgetCaption()
void
setCaption(java.lang.Stringvalue)
           Gets and set the descriptive text that appears on a control.
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.
booleanisTransparent()
void
setTransparent(booleanvalue)
           Indicates whether the control is transparent.
booleanisVisible()
void
setVisible(booleanvalue)
           Indicates whether this control is visible.
booleanisWordWrapped()
void
setWordWrapped(booleanvalue)
           Indicates whether the contents of the control automatically wrap at the end of a line.
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.
intgetPicturePosition()
void
           Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType 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.
      • getCaption/setCaption

        public java.lang.String getCaption() / public void setCaption(java.lang.String value)
        
        Gets and set the descriptive text that appears on a control.
      • getPicturePosition/setPicturePosition

        public int getPicturePosition() / public void setPicturePosition(int value)
        
        Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.
      • 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.
      • 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.
      • getAccelerator/setAccelerator

        public char getAccelerator() / public void setAccelerator(char value)
        
        Gets and sets the accelerator key for the control.
      • isWordWrapped/setWordWrapped

        public boolean isWordWrapped() / public void setWordWrapped(boolean value)
        
        Indicates whether the contents of the control automatically wrap at the end of a line.
      • 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.
      • isAutoSize/setAutoSize

        public boolean isAutoSize() / public void setAutoSize(boolean value)
        
        Indicates whether the control will automatically resize to display its entire contents.
      • 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..

    setCaption

    public voidsetCaption(java.lang.Stringvalue)
    
    Gets and set the descriptive text that appears on a control.

    setPicturePosition

    public voidsetPicturePosition(intvalue)
    
    Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.

    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.

    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.

    setAccelerator

    public voidsetAccelerator(charvalue)
    
    Gets and sets the accelerator key for the control.

    setWordWrapped

    public voidsetWordWrapped(booleanvalue)
    
    Indicates whether the contents of the control automatically wrap at the end of a line.

    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.

    setAutoSize

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

    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..