UnknownControl
UnknownControl class
Unknow control.
Properties
| Name | Type | Description |
|---|---|---|
| Data | byte[] | Gets and sets the binary data of the control. |
| Type | int | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| IsEnabled | boolean | Indicates whether the control can receive the focus and respond to user-generated events. |
| IsLocked | boolean | Indicates whether data in the control is locked for editing. |
| IsTransparent | boolean | Indicates whether the control is transparent. |
| IsAutoSize | boolean | Indicates whether the control will automatically resize to display its entire contents. |
| IMEMode | int | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th |
| Font | Font | Represents the font of the control. |
| TextAlign | int | Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant. |
| Workbook | Workbook | Gets the Workbook object. |
| 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. |
Methods
| Name | Description |
|---|---|
| getRelationshipData | Gets the related data. |
UnknownControl.Data property
Gets and sets the binary data of the control.
Type: byte[]
UnknownControl.Type property
Gets the type of the ActiveX control. The value of the property is ControlType integer constant.
Type: int
UnknownControl.IsEnabled property
Indicates whether the control can receive the focus and respond to user-generated events.
Type: boolean
UnknownControl.IsLocked property
Indicates whether data in the control is locked for editing.
Type: boolean
UnknownControl.IsTransparent property
Indicates whether the control is transparent.
Type: boolean
UnknownControl.IsAutoSize property
Indicates whether the control will automatically resize to display its entire contents.
Type: boolean
UnknownControl.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
UnknownControl.Font property
Represents the font of the control.
Type: Font
UnknownControl.TextAlign property
Represents how to align the text used by the control. The value of the property is TextAlignmentType integer constant.
Type: int
UnknownControl.Workbook property
Gets the Workbook object.
Type: Workbook
UnknownControl.Width property
Gets and sets the width of the control in unit of points.
Type: float
UnknownControl.Height property
Gets and sets the height of the control in unit of points.
Type: float
UnknownControl.MouseIcon property
Gets and sets a custom icon to display as the mouse pointer for the control.
Type: byte[]
UnknownControl.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
UnknownControl.ForeOleColor property
Gets and sets the ole color of the foreground. Not applies to Image control.
Type: int
UnknownControl.BackOleColor property
Gets and sets the ole color of the background.
Type: int
UnknownControl.IsVisible property
Indicates whether this control is visible.
Type: boolean
UnknownControl.Shadow property
Indicates whether to show a shadow.
Type: boolean
UnknownControl.LinkedCell property
Gets and sets the linked cell.
Type: String
UnknownControl.ListFillRange property
Gets and sets the list fill range.
Type: String
getRelationshipData(relId)
Gets the related data.
| Parameter | Type | Description |
|---|---|---|
| relId | String | The relationship id. |
Returns: Returns the related data.