ActiveXControlBase
ActiveXControlBase class
Represents the ActiveX control.
Properties
| Name | Type | Description |
|---|---|---|
| Workbook | Workbook | Gets the Workbook object. |
| Type | int | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| 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. |
| Data | byte[] | Gets and sets the binary data of the control. |
ActiveXControlBase.Workbook property
Gets the Workbook object.
Type: Workbook
ActiveXControlBase.Type property
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
Type: int
ActiveXControlBase.Width property
Gets and sets the width of the control in unit of points.
Type: float
ActiveXControlBase.Height property
Gets and sets the height of the control in unit of points.
Type: float
ActiveXControlBase.MouseIcon property
Gets and sets a custom icon to display as the mouse pointer for the control.
Type: byte[]
ActiveXControlBase.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
ActiveXControlBase.ForeOleColor property
Gets and sets the ole color of the foreground. Not applies to Image control.
Type: int
ActiveXControlBase.BackOleColor property
Gets and sets the ole color of the background.
Type: int
ActiveXControlBase.IsVisible property
Indicates whether this control is visible.
Type: boolean
ActiveXControlBase.Shadow property
Indicates whether to show a shadow.
Type: boolean
ActiveXControlBase.LinkedCell property
Gets and sets the linked cell.
Type: String
ActiveXControlBase.ListFillRange property
Gets and sets the list fill range.
Type: String
ActiveXControlBase.Data property
Gets and sets the binary data of the control.
Type: byte[]