ScrollBarActiveXControl

ScrollBarActiveXControl class

Represents the ScrollBar control.

Properties

NameTypeDescription
TypeintGets the type of the ActiveX control. The value of the property is ControlType integer constant.
LargeChangeintGets and sets the amount by which the Position property changes
MinintGets and sets the minimum acceptable value.
MaxintGets and sets the maximum acceptable value.
PositionintGets and sets the value.
SmallChangeintGets and sets the amount by which the Position property changes
OrientationintGets and sets whether the SpinButton or ScrollBar is oriented vertically or horizontally. The value of the property is C
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.
IsAutoSizebooleanIndicates whether the control will automatically resize to display its entire contents.
IMEModeintGets 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.
TextAlignintRepresents 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.
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.

ScrollBarActiveXControl.Type property

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

Type: int

ScrollBarActiveXControl.LargeChange property

Gets and sets the amount by which the Position property changes

Type: int

ScrollBarActiveXControl.Min property

Gets and sets the minimum acceptable value.

Type: int

ScrollBarActiveXControl.Max property

Gets and sets the maximum acceptable value.

Type: int

ScrollBarActiveXControl.Position property

Gets and sets the value.

Type: int

ScrollBarActiveXControl.SmallChange property

Gets and sets the amount by which the Position property changes

Type: int

ScrollBarActiveXControl.Orientation property

Gets and sets whether the SpinButton or ScrollBar is oriented vertically or horizontally. The value of the property is ControlScrollOrientation integer constant.

Type: int

ScrollBarActiveXControl.IsEnabled property

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

Type: boolean

ScrollBarActiveXControl.IsLocked property

Indicates whether data in the control is locked for editing.

Type: boolean

ScrollBarActiveXControl.IsTransparent property

Indicates whether the control is transparent.

Type: boolean

ScrollBarActiveXControl.IsAutoSize property

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

Type: boolean

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

ScrollBarActiveXControl.Font property

Represents the font of the control.

Type: Font

ScrollBarActiveXControl.TextAlign property

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

Type: int

ScrollBarActiveXControl.Data property

Gets and sets the binary data of the control.

Type: byte[]

ScrollBarActiveXControl.Workbook property

Gets the Workbook object.

Type: Workbook

ScrollBarActiveXControl.Width property

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

Type: float

ScrollBarActiveXControl.Height property

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

Type: float

ScrollBarActiveXControl.MouseIcon property

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

Type: byte[]

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

ScrollBarActiveXControl.ForeOleColor property

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

Type: int

ScrollBarActiveXControl.BackOleColor property

Gets and sets the ole color of the background.

Type: int

ScrollBarActiveXControl.IsVisible property

Indicates whether this control is visible.

Type: boolean

ScrollBarActiveXControl.Shadow property

Indicates whether to show a shadow.

Type: boolean

ScrollBarActiveXControl.LinkedCell property

Gets and sets the linked cell.

Type: String

ScrollBarActiveXControl.ListFillRange property

Gets and sets the list fill range.

Type: String