aspose.cells

Class CommandButtonActiveXControl

Represents a command button.

Property Getters/Setters Summary
functiongetAccelerator()
function
           Gets and sets the accelerator key for the control.
functiongetBackOleColor()
function
           Gets and sets the ole color of the background.
functiongetCaption()
function
setCaption(value)
           Gets and set the descriptive text that appears on a control.
functiongetData()
Gets and sets the binary data of the control.
functiongetFont()
Represents the font of the control.
functiongetForeOleColor()
function
           Gets and sets the ole color of the foreground.
functiongetHeight()
function
setHeight(value)
           Gets and sets the height of the control in unit of points.
functiongetIMEMode()
function
setIMEMode(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.
functionisAutoSize()
function
           Indicates whether the control will automatically resize to display its entire contents.
functionisEnabled()
function
setEnabled(value)
           Indicates whether the control can receive the focus and respond to user-generated events.
functionisLocked()
function
setLocked(value)
           Indicates whether data in the control is locked for editing.
functionisTransparent()
function
           Indicates whether the control is transparent.
functionisVisible()
function
setVisible(value)
           Indicates whether this control is visible.
functionisWordWrapped()
function
           Indicates whether the contents of the control automatically wrap at the end of a line.
functiongetLinkedCell()
function
           Gets and sets the linked cell.
functiongetListFillRange()
function
           Gets and sets the list fill range.
functiongetMouseIcon()
function
           Gets and sets a custom icon to display as the mouse pointer for the control.
functiongetMousePointer()
function
           Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
functiongetPicture()
function
setPicture(value)
           Gets and sets the data of the picture.
functiongetPicturePosition()
function
           Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.
functiongetShadow()
function
setShadow(value)
           Indicates whether to show a shadow.
functiongetTakeFocusOnClick()
function
           Indicates whether the control takes the focus when clicked.
functiongetTextAlign()
function
           Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
functiongetType()
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
functiongetWidth()
function
setWidth(value)
           Gets and sets the width of the control in unit of points.
functiongetWorkbook()
Gets the Workbook object.
 

    • Property Getters/Setters Detail

      • getType : Number 

        function getType()
        
        Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
      • getCaption/setCaption : String 

        function getCaption() / function setCaption(value)
        
        Gets and set the descriptive text that appears on a control.
      • getPicturePosition/setPicturePosition : Number 

        function getPicturePosition() / function setPicturePosition(value)
        
        Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.
      • getPicture/setPicture : byte[] 

        function getPicture() / function setPicture(value)
        
        Gets and sets the data of the picture.
      • getAccelerator/setAccelerator : char 

        function getAccelerator() / function setAccelerator(value)
        
        Gets and sets the accelerator key for the control.
      • getTakeFocusOnClick/setTakeFocusOnClick : boolean 

        function getTakeFocusOnClick() / function setTakeFocusOnClick(value)
        
        Indicates whether the control takes the focus when clicked.
      • isWordWrapped/setWordWrapped : boolean 

        function isWordWrapped() / function setWordWrapped(value)
        
        Indicates whether the contents of the control automatically wrap at the end of a line.
      • isEnabled/setEnabled : boolean 

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

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

        function isTransparent() / function setTransparent(value)
        
        Indicates whether the control is transparent.
      • isAutoSize/setAutoSize : boolean 

        function isAutoSize() / function setAutoSize(value)
        
        Indicates whether the control will automatically resize to display its entire contents.
      • getIMEMode/setIMEMode : Number 

        function getIMEMode() / function setIMEMode(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 : Font 

        function getFont()
        
        Represents the font of the control.
      • getTextAlign/setTextAlign : Number 

        function getTextAlign() / function setTextAlign(value)
        
        Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
      • getData : byte[] 

        function getData()
        
        Gets and sets the binary data of the control.
      • getWidth/setWidth : Number 

        function getWidth() / function setWidth(value)
        
        Gets and sets the width of the control in unit of points.
      • getHeight/setHeight : Number 

        function getHeight() / function setHeight(value)
        
        Gets and sets the height of the control in unit of points.
      • getMouseIcon/setMouseIcon : byte[] 

        function getMouseIcon() / function setMouseIcon(value)
        
        Gets and sets a custom icon to display as the mouse pointer for the control.
      • getMousePointer/setMousePointer : Number 

        function getMousePointer() / function setMousePointer(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 : Number 

        function getForeOleColor() / function setForeOleColor(value)
        
        Gets and sets the ole color of the foreground. Not applies to Image control.
      • getBackOleColor/setBackOleColor : Number 

        function getBackOleColor() / function setBackOleColor(value)
        
        Gets and sets the ole color of the background.
      • isVisible/setVisible : boolean 

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

        function getShadow() / function setShadow(value)
        
        Indicates whether to show a shadow.
      • getLinkedCell/setLinkedCell : String 

        function getLinkedCell() / function setLinkedCell(value)
        
        Gets and sets the linked cell.
      • getListFillRange/setListFillRange : String 

        function getListFillRange() / function setListFillRange(value)
        
        Gets and sets the list fill range.