asposecells.api

Class TextBoxActiveXControl

Represents a text box ActiveX control.

Property Getters/Setters Summary
methodgetBackOleColor()
method
           Gets and sets the ole color of the background.
methodgetBorderOleColor()
method
           Gets and sets the ole color of the background.
methodgetBorderStyle()
method
           Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
methodgetData()
Gets and sets the binary data of the control.
methodgetDropButtonStyle()
method
           Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
methodgetEnterFieldBehavior()
method
           Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering the control.
methodgetEnterKeyBehavior()
method
           Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that pressing ENTER will move the focus to the next object in the tab order.
methodgetFont()
Represents the font of the control.
methodgetForeOleColor()
method
           Gets and sets the ole color of the foreground.
methodgetHeight()
method
setHeight(value)
           Gets and sets the height of the control in unit of points.
methodgetHideSelection()
method
           Indicates whether selected text in the control appears highlighted when the control does not have focus.
methodgetIMEMode()
method
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.
methodgetIntegralHeight()
method
           Indicates whether the control will only show complete lines of text without showing any partial lines.
methodisAutoSize()
method
           Indicates whether the control will automatically resize to display its entire contents.
methodisAutoTab()
method
setAutoTab(value)
           Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.
methodisAutoWordSelected()
method
           Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false specifies that the basic unit is a whole word.
methodisDragBehaviorEnabled()
method
           Indicates whether dragging and dropping is enabled for the control.
methodisEditable()
method
           Indicates whether the user can type into the control.
methodisEnabled()
method
setEnabled(value)
           Indicates whether the control can receive the focus and respond to user-generated events.
methodisLocked()
method
setLocked(value)
           Indicates whether data in the control is locked for editing.
methodisMultiLine()
method
           Indicates whether the control can display more than one line of text.
methodisTransparent()
method
           Indicates whether the control is transparent.
methodisVisible()
method
setVisible(value)
           Indicates whether this control is visible.
methodisWordWrapped()
method
           Indicates whether the contents of the control automatically wrap at the end of a line.
methodgetLinkedCell()
method
           Gets and sets the linked cell.
methodgetListFillRange()
method
           Gets and sets the list fill range.
methodgetMaxLength()
method
           Gets and sets the maximum number of characters
methodgetMouseIcon()
method
           Gets and sets a custom icon to display as the mouse pointer for the control.
methodgetMousePointer()
method
           Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
methodgetPasswordChar()
method
           Gets and sets a character to be displayed in place of the characters entered.
methodgetScrollBars()
method
           Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.
methodgetShadow()
method
setShadow(value)
           Indicates whether to show a shadow.
methodgetShowDropButtonTypeWhen()
method
           Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
methodgetSpecialEffect()
method
           Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
methodgetTabKeyBehavior()
method
           Indicates whether tab characters are allowed in the text of the control.
methodgetText()
method
setText(value)
           Gets and set text of the control.
methodgetTextAlign()
method
           Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
methodgetType()
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
methodgetWidth()
method
setWidth(value)
           Gets and sets the width of the control in unit of points.
methodgetWorkbook()
Gets the Workbook object.
 

    • Property Getters/Setters Detail

      • getType : int 

        int getType()
        
        Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
      • getBorderStyle/setBorderStyle : int 

        int getBorderStyle() / setBorderStyle(value)
        
        Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
      • getBorderOleColor/setBorderOleColor : int 

        int getBorderOleColor() / setBorderOleColor(value)
        
        Gets and sets the ole color of the background.
      • getSpecialEffect/setSpecialEffect : int 

        int getSpecialEffect() / setSpecialEffect(value)
        
        Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
      • getMaxLength/setMaxLength : int 

        int getMaxLength() / setMaxLength(value)
        
        Gets and sets the maximum number of characters
      • getScrollBars/setScrollBars : int 

        int getScrollBars() / setScrollBars(value)
        
        Indicates specifies whether the control has vertical scroll bars, horizontal scroll bars, both, or neither. The value of the property is ControlScrollBarType integer constant.
      • getPasswordChar/setPasswordChar : char 

        char getPasswordChar() / setPasswordChar(value)
        
        Gets and sets a character to be displayed in place of the characters entered.
      • isEditable/setEditable : boolean 

        boolean isEditable() / setEditable(value)
        
        Indicates whether the user can type into the control.
      • getIntegralHeight/setIntegralHeight : boolean 

        boolean getIntegralHeight() / setIntegralHeight(value)
        
        Indicates whether the control will only show complete lines of text without showing any partial lines.
      • isDragBehaviorEnabled/setDragBehaviorEnabled : boolean 

        boolean isDragBehaviorEnabled() / setDragBehaviorEnabled(value)
        
        Indicates whether dragging and dropping is enabled for the control.
      • getEnterKeyBehavior/setEnterKeyBehavior : boolean 

        boolean getEnterKeyBehavior() / setEnterKeyBehavior(value)
        
        Specifies the behavior of the ENTER key. True specifies that pressing ENTER will create a new line. False specifies that pressing ENTER will move the focus to the next object in the tab order.
      • getEnterFieldBehavior/setEnterFieldBehavior : boolean 

        boolean getEnterFieldBehavior() / setEnterFieldBehavior(value)
        
        Specifies selection behavior when entering the control. True specifies that the selection remains unchanged from last time the control was active. False specifies that all the text in the control will be selected when entering the control.
      • getTabKeyBehavior/setTabKeyBehavior : boolean 

        boolean getTabKeyBehavior() / setTabKeyBehavior(value)
        
        Indicates whether tab characters are allowed in the text of the control.
      • getHideSelection/setHideSelection : boolean 

        boolean getHideSelection() / setHideSelection(value)
        
        Indicates whether selected text in the control appears highlighted when the control does not have focus.
      • isAutoTab/setAutoTab : boolean 

        boolean isAutoTab() / setAutoTab(value)
        
        Indicates whether the focus will automatically move to the next control when the user enters the maximum number of characters.
      • isMultiLine/setMultiLine : boolean 

        boolean isMultiLine() / setMultiLine(value)
        
        Indicates whether the control can display more than one line of text.
      • isAutoWordSelected/setAutoWordSelected : boolean 

        boolean isAutoWordSelected() / setAutoWordSelected(value)
        
        Specifies the basic unit used to extend a selection. True specifies that the basic unit is a single character. false specifies that the basic unit is a whole word.
      • isWordWrapped/setWordWrapped : boolean 

        boolean isWordWrapped() / setWordWrapped(value)
        
        Indicates whether the contents of the control automatically wrap at the end of a line.
      • getText/setText : String 

        String getText() / setText(value)
        
        Gets and set text of the control.
      • getDropButtonStyle/setDropButtonStyle : int 

        int getDropButtonStyle() / setDropButtonStyle(value)
        
        Specifies the symbol displayed on the drop button The value of the property is DropButtonStyle integer constant.
      • getShowDropButtonTypeWhen/setShowDropButtonTypeWhen : int 

        int getShowDropButtonTypeWhen() / setShowDropButtonTypeWhen(value)
        
        Specifies the symbol displayed on the drop button The value of the property is ShowDropButtonType integer constant.
      • isEnabled/setEnabled : boolean 

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

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

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

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

        int getIMEMode() / 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 

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

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

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

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

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

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

        int getMousePointer() / 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 : int 

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

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

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

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

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

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