ImageActiveXControl

ImageActiveXControl class

Represents the image control.

Properties

NameTypeDescription
TypeNumberGets the type of the ActiveX control. The value of the property is ControlType integer constant.
IsAutoSizebooleanIndicates whether the control will automatically resize to display its entire contents.
BorderOleColorNumberGets and sets the ole color of the background.
BorderStyleNumberGets and set the type of border used by the control. The value of the property is ControlBorderType integer constant.
PictureSizeModeNumberGets and sets how to display the picture. The value of the property is ControlPictureSizeMode integer constant.
SpecialEffectNumberGets and sets the special effect of the control. The value of the property is ControlSpecialEffectType integer constant.
Picturebyte[]Gets and sets the data of the picture.
PictureAlignmentNumberGets and sets the alignment of the picture inside the Form or Image. The value of the property is ControlPictureAlignmen
IsTiledbooleanIndicates whether the picture is tiled across the background.
IsEnabledbooleanIndicates whether the control can receive the focus and respond to user-generated events.
IsLockedbooleanIndicates whether data in the control is locked for editing.
IsTransparentbooleanIndicates whether the control is transparent.
IMEModeNumberGets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th
FontFontRepresents the font of the control.
TextAlignNumberRepresents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
Databyte[]Gets and sets the binary data of the control.
WorkbookWorkbookGets the Workbook object.
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.

ImageActiveXControl.Type property

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

Type: Number

ImageActiveXControl.IsAutoSize property

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

Type: boolean

ImageActiveXControl.BorderOleColor property

Gets and sets the ole color of the background.

Type: Number

ImageActiveXControl.BorderStyle property

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

Type: Number

ImageActiveXControl.PictureSizeMode property

Gets and sets how to display the picture. The value of the property is ControlPictureSizeMode integer constant.

Type: Number

ImageActiveXControl.SpecialEffect property

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

Type: Number

ImageActiveXControl.Picture property

Gets and sets the data of the picture.

Type: byte[]

ImageActiveXControl.PictureAlignment property

Gets and sets the alignment of the picture inside the Form or Image. The value of the property is ControlPictureAlignmentType integer constant.

Type: Number

ImageActiveXControl.IsTiled property

Indicates whether the picture is tiled across the background.

Type: boolean

ImageActiveXControl.IsEnabled property

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

Type: boolean

ImageActiveXControl.IsLocked property

Indicates whether data in the control is locked for editing.

Type: boolean

ImageActiveXControl.IsTransparent property

Indicates whether the control is transparent.

Type: boolean

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

ImageActiveXControl.Font property

Represents the font of the control.

Type: Font

ImageActiveXControl.TextAlign property

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

Type: Number

ImageActiveXControl.Data property

Gets and sets the binary data of the control.

Type: byte[]

ImageActiveXControl.Workbook property

Gets the Workbook object.

Type: Workbook

ImageActiveXControl.Width property

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

Type: Number

ImageActiveXControl.Height property

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

Type: Number

ImageActiveXControl.MouseIcon property

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

Type: byte[]

ImageActiveXControl.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

ImageActiveXControl.ForeOleColor property

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

Type: Number

ImageActiveXControl.BackOleColor property

Gets and sets the ole color of the background.

Type: Number

ImageActiveXControl.IsVisible property

Indicates whether this control is visible.

Type: boolean

ImageActiveXControl.Shadow property

Indicates whether to show a shadow.

Type: boolean

ImageActiveXControl.LinkedCell property

Gets and sets the linked cell.

Type: String

ImageActiveXControl.ListFillRange property

Gets and sets the list fill range.

Type: String