ActiveXControlBase

ActiveXControlBase class

Represents the ActiveX control.

Properties

NameTypeDescription
WorkbookWorkbookGets the Workbook object.
TypeintGets the type of the ActiveX control. The value of the property is ControlType integer constant.
WidthfloatGets and sets the width of the control in unit of points.
HeightfloatGets 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.
MousePointerintGets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse
ForeOleColorintGets and sets the ole color of the foreground. Not applies to Image control.
BackOleColorintGets 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: 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[]