LabelActiveXControl
LabelActiveXControl class
Represents the label ActiveX control.
Properties
| Name | Type | Description |
|---|---|---|
| Type | int | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| Caption | String | Gets and set the descriptive text that appears on a control. |
| PicturePosition | int | Gets and set the location of the control’s picture relative to its caption. The value of the property is ControlPictureP |
| BorderOleColor | int | Gets and sets the ole color of the background. |
| BorderStyle | int | Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant. |
| SpecialEffect | int | Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant. |
| Picture | byte[] | Gets and sets the data of the picture. |
| Accelerator | char | Gets and sets the accelerator key for the control. |
| IsWordWrapped | boolean | Indicates whether the contents of the control automatically wrap at the end of a line. |
| IsEnabled | boolean | Indicates whether the control can receive the focus and respond to user-generated events. |
| IsLocked | boolean | Indicates whether data in the control is locked for editing. |
| IsTransparent | boolean | Indicates whether the control is transparent. |
| IsAutoSize | boolean | Indicates whether the control will automatically resize to display its entire contents. |
| IMEMode | int | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th |
| Font | Font | Represents the font of the control. |
| TextAlign | int | Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant. |
| Data | byte[] | Gets and sets the binary data of the control. |
| Workbook | Workbook | Gets the Workbook object. |
| Width | float | Gets and sets the width of the control in unit of points. |
| Height | float | Gets and sets the height of the control in unit of points. |
| MouseIcon | byte[] | Gets and sets a custom icon to display as the mouse pointer for the control. |
| MousePointer | int | Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse |
| ForeOleColor | int | Gets and sets the ole color of the foreground. Not applies to Image control. |
| BackOleColor | int | Gets and sets the ole color of the background. |
| IsVisible | boolean | Indicates whether this control is visible. |
| Shadow | boolean | Indicates whether to show a shadow. |
| LinkedCell | String | Gets and sets the linked cell. |
| ListFillRange | String | Gets and sets the list fill range. |
LabelActiveXControl.Type property
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
Type: int
LabelActiveXControl.Caption property
Gets and set the descriptive text that appears on a control.
Type: String
LabelActiveXControl.PicturePosition property
Gets and set the location of the control’s picture relative to its caption. The value of the property is ControlPicturePositionType integer constant.
Type: int
LabelActiveXControl.BorderOleColor property
Gets and sets the ole color of the background.
Type: int
LabelActiveXControl.BorderStyle property
Gets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
Type: int
LabelActiveXControl.SpecialEffect property
Gets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
Type: int
LabelActiveXControl.Picture property
Gets and sets the data of the picture.
Type: byte[]
LabelActiveXControl.Accelerator property
Gets and sets the accelerator key for the control.
Type: char
LabelActiveXControl.IsWordWrapped property
Indicates whether the contents of the control automatically wrap at the end of a line.
Type: boolean
LabelActiveXControl.IsEnabled property
Indicates whether the control can receive the focus and respond to user-generated events.
Type: boolean
LabelActiveXControl.IsLocked property
Indicates whether data in the control is locked for editing.
Type: boolean
LabelActiveXControl.IsTransparent property
Indicates whether the control is transparent.
Type: boolean
LabelActiveXControl.IsAutoSize property
Indicates whether the control will automatically resize to display its entire contents.
Type: boolean
LabelActiveXControl.IMEMode property
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.
Type: int
LabelActiveXControl.Font property
Represents the font of the control.
Type: Font
LabelActiveXControl.TextAlign property
Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
Type: int
LabelActiveXControl.Data property
Gets and sets the binary data of the control.
Type: byte[]
LabelActiveXControl.Workbook property
Gets the Workbook object.
Type: Workbook
LabelActiveXControl.Width property
Gets and sets the width of the control in unit of points.
Type: float
LabelActiveXControl.Height property
Gets and sets the height of the control in unit of points.
Type: float
LabelActiveXControl.MouseIcon property
Gets and sets a custom icon to display as the mouse pointer for the control.
Type: byte[]
LabelActiveXControl.MousePointer property
Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.
Type: int
LabelActiveXControl.ForeOleColor property
Gets and sets the ole color of the foreground. Not applies to Image control.
Type: int
LabelActiveXControl.BackOleColor property
Gets and sets the ole color of the background.
Type: int
LabelActiveXControl.IsVisible property
Indicates whether this control is visible.
Type: boolean
LabelActiveXControl.Shadow property
Indicates whether to show a shadow.
Type: boolean
LabelActiveXControl.LinkedCell property
Gets and sets the linked cell.
Type: String
LabelActiveXControl.ListFillRange property
Gets and sets the list fill range.
Type: String