ActiveXControlBase

ActiveXControlBase class

Represents the ActiveX control.

Properties

NameTypeDescription
WorkbookWorkbookGets the Workbook object.
TypeNumberGets the type of the ActiveX control. The value of the property is ControlType integer constant.
WidthNumberGets and sets the width of the control in unit of points.
HeightNumberGets and sets the height of the control in unit of points.
MouseIconbyte[]Gets and sets a custom icon to display as the mouse pointer for the control.
MousePointerNumberGets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse
ForeOleColorNumberGets and sets the ole color of the foreground. Not applies to Image control.
BackOleColorNumberGets and sets the ole color of the background.
IsVisiblebooleanIndicates whether this control is visible.
ShadowbooleanIndicates whether to show a shadow.
LinkedCellStringGets and sets the linked cell.
ListFillRangeStringGets and sets the list fill range.
Databyte[]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: Number

ActiveXControlBase.Width property

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

Type: Number

ActiveXControlBase.Height property

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

Type: Number

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: Number

ActiveXControlBase.ForeOleColor property

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

Type: Number

ActiveXControlBase.BackOleColor property

Gets and sets the ole color of the background.

Type: Number

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[]