
## LabelActiveXControl class

Represents the label ActiveX control.

## Methods

| Name | Description |
| --- | --- |
| [getAccelerator()](#getaccelerator) | Gets and sets the accelerator key for the control. |
| [getBackOleColor()](#getbackolecolor) | Gets and sets the ole color of the background. |
| [getBorderOleColor()](#getborderolecolor) | Gets and sets the ole color of the background. |
| [getBorderStyle()](#getborderstyle) | Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant. |
| [getCaption()](#getcaption) | Gets and set the descriptive text that appears on a control. |
| [getData()](#getdata) | Gets and sets the binary data of the control. |
| [getFont()](#getfont) | Represents the font of the control. |
| [getForeOleColor()](#getforeolecolor) | Gets and sets the ole color of the foreground. Not applies to Image control. |
| [getHeight()](#getheight) | Gets and sets the height of the control in unit of points. |
| [getIMEMode()](#getimemode) | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th |
| [getLinkedCell()](#getlinkedcell) | Gets and sets the linked cell. |
| [getListFillRange()](#getlistfillrange) | Gets and sets the list fill range. |
| [getMouseIcon()](#getmouseicon) | Gets and sets a custom icon to display as the mouse pointer for the control. |
| [getMousePointer()](#getmousepointer) | Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse |
| [getPicture()](#getpicture) | Gets and sets the data of the picture. |
| [getPicturePosition()](#getpictureposition) | Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPictureP |
| [getShadow()](#getshadow) | Indicates whether to show a shadow. |
| [getSpecialEffect()](#getspecialeffect) | Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant. |
| [getTextAlign()](#gettextalign) | Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant. |
| [getType()](#gettype) | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| [getWidth()](#getwidth) | Gets and sets the width of the control in unit of points. |
| [getWorkbook()](#getworkbook) | Gets the Workbook object. |
| [isAutoSize()](#isautosize) | Indicates whether the control will automatically resize to display its entire contents. |
| [isEnabled()](#isenabled) | Indicates whether the control can receive the focus and respond to user-generated events. |
| [isLocked()](#islocked) | Indicates whether data in the control is locked for editing. |
| [isTransparent()](#istransparent) | Indicates whether the control is transparent. |
| [isVisible()](#isvisible) | Indicates whether this control is visible. |
| [isWordWrapped()](#iswordwrapped) | Indicates whether the contents of the control automatically wrap at the end of a line. |
| [setAccelerator()](#setaccelerator) | Gets and sets the accelerator key for the control. |
| [setAutoSize()](#setautosize) | Indicates whether the control will automatically resize to display its entire contents. |
| [setBackOleColor()](#setbackolecolor) | Gets and sets the ole color of the background. |
| [setBorderOleColor()](#setborderolecolor) | Gets and sets the ole color of the background. |
| [setBorderStyle()](#setborderstyle) | Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant. |
| [setCaption()](#setcaption) | Gets and set the descriptive text that appears on a control. |
| [setEnabled()](#setenabled) | Indicates whether the control can receive the focus and respond to user-generated events. |
| [setForeOleColor()](#setforeolecolor) | Gets and sets the ole color of the foreground. Not applies to Image control. |
| [setHeight()](#setheight) | Gets and sets the height of the control in unit of points. |
| [setIMEMode()](#setimemode) | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th |
| [setLinkedCell()](#setlinkedcell) | Gets and sets the linked cell. |
| [setListFillRange()](#setlistfillrange) | Gets and sets the list fill range. |
| [setLocked()](#setlocked) | Indicates whether data in the control is locked for editing. |
| [setMouseIcon()](#setmouseicon) | Gets and sets a custom icon to display as the mouse pointer for the control. |
| [setMousePointer()](#setmousepointer) | Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse |
| [setPicture()](#setpicture) | Gets and sets the data of the picture. |
| [setPicturePosition()](#setpictureposition) | Gets and set the location of the control's picture relative to its caption. The value of the property is ControlPictureP |
| [setShadow()](#setshadow) | Indicates whether to show a shadow. |
| [setSpecialEffect()](#setspecialeffect) | Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant. |
| [setTextAlign()](#settextalign) | Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant. |
| [setTransparent()](#settransparent) | Indicates whether the control is transparent. |
| [setVisible()](#setvisible) | Indicates whether this control is visible. |
| [setWidth()](#setwidth) | Gets and sets the width of the control in unit of points. |
| [setWordWrapped()](#setwordwrapped) | Indicates whether the contents of the control automatically wrap at the end of a line. |

### getAccelerator() {#getaccelerator}

Gets and sets the accelerator key for the control.

### getBackOleColor() {#getbackolecolor}

Gets and sets the ole color of the background.

### getBorderOleColor() {#getborderolecolor}

Gets and sets the ole color of the background.

### getBorderStyle() {#getborderstyle}

Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.

### getCaption() {#getcaption}

Gets and set the descriptive text that appears on a control.

### getData() {#getdata}

Gets and sets the binary data of the control.

### getFont() {#getfont}

Represents the font of the control.

### getForeOleColor() {#getforeolecolor}

Gets and sets the ole color of the foreground. Not applies to Image control.

### getHeight() {#getheight}

Gets and sets the height of the control in unit of points.

### getIMEMode() {#getimemode}

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.

### getLinkedCell() {#getlinkedcell}

Gets and sets the linked cell.

### getListFillRange() {#getlistfillrange}

Gets and sets the list fill range.

### getMouseIcon() {#getmouseicon}

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

### getMousePointer() {#getmousepointer}

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

### getPicture() {#getpicture}

Gets and sets the data of the picture.

### getPicturePosition() {#getpictureposition}

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

### getShadow() {#getshadow}

Indicates whether to show a shadow.

### getSpecialEffect() {#getspecialeffect}

Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

### getTextAlign() {#gettextalign}

Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.

### getType() {#gettype}

Gets the type of the ActiveX control. The value of the property is ControlType integer constant.

### getWidth() {#getwidth}

Gets and sets the width of the control in unit of points.

### getWorkbook() {#getworkbook}

Gets the Workbook object.

### isAutoSize() {#isautosize}

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

### isEnabled() {#isenabled}

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

### isLocked() {#islocked}

Indicates whether data in the control is locked for editing.

### isTransparent() {#istransparent}

Indicates whether the control is transparent.

### isVisible() {#isvisible}

Indicates whether this control is visible.

### isWordWrapped() {#iswordwrapped}

Indicates whether the contents of the control automatically wrap at the end of a line.

### setAccelerator() {#setaccelerator}

Gets and sets the accelerator key for the control.

### setAutoSize() {#setautosize}

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

### setBackOleColor() {#setbackolecolor}

Gets and sets the ole color of the background.

### setBorderOleColor() {#setborderolecolor}

Gets and sets the ole color of the background.

### setBorderStyle() {#setborderstyle}

Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.

### setCaption() {#setcaption}

Gets and set the descriptive text that appears on a control.

### setEnabled() {#setenabled}

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

### setForeOleColor() {#setforeolecolor}

Gets and sets the ole color of the foreground. Not applies to Image control.

### setHeight() {#setheight}

Gets and sets the height of the control in unit of points.

### setIMEMode() {#setimemode}

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.

### setLinkedCell() {#setlinkedcell}

Gets and sets the linked cell.

### setListFillRange() {#setlistfillrange}

Gets and sets the list fill range.

### setLocked() {#setlocked}

Indicates whether data in the control is locked for editing.

### setMouseIcon() {#setmouseicon}

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

### setMousePointer() {#setmousepointer}

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

### setPicture() {#setpicture}

Gets and sets the data of the picture.

### setPicturePosition() {#setpictureposition}

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

### setShadow() {#setshadow}

Indicates whether to show a shadow.

### setSpecialEffect() {#setspecialeffect}

Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.

### setTextAlign() {#settextalign}

Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.

### setTransparent() {#settransparent}

Indicates whether the control is transparent.

### setVisible() {#setvisible}

Indicates whether this control is visible.

### setWidth() {#setwidth}

Gets and sets the width of the control in unit of points.

### setWordWrapped() {#setwordwrapped}

Indicates whether the contents of the control automatically wrap at the end of a line.
