
## UnknownControl class

Unknow control.

## Methods

| Name | Description |
| --- | --- |
| [getBackOleColor()](#getbackolecolor) | Gets and sets the ole color of the background. |
| [getData()](#getdata) | Gets and sets the binary data of the control. |
| [getForeOleColor()](#getforeolecolor) | Gets and sets the ole color of the foreground. Not applies to Image control. |
| [getHeight()](#getheight) | Gets and sets the height of the control in unit of points. |
| [getIMEMode()](#getimemode) | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th |
| [getMouseIcon()](#getmouseicon) | Gets and sets a custom icon to display as the mouse pointer for the control. |
| [getMousePointer()](#getmousepointer) | Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse |
| [getPersistenceType()](#getpersistencetype) | Gets the persistence method to persist an ActiveX control. The value of the property is ActiveXPersistenceType integer c |
| [getRelationshipData(relId)](#getrelationshipdata) | Gets the relationship data. |
| [getType()](#gettype) | Gets the type of the ActiveX control. The value of the property is ControlType integer constant. |
| [getWidth()](#getwidth) | Gets and sets the width of the control in unit of point. |
| [isAutoSize()](#isautosize) | Indicates whether the control will automatically resize to display its entire contents. |
| [isEnabled()](#isenabled) | Indicates whether the control can receive the focus and respond to user-generated events. |
| [isLocked()](#islocked) | Indicates whether data in the control is locked for editing. |
| [isTransparent()](#istransparent) | Indicates whether the control is transparent. |
| [setAutoSize()](#setautosize) | Indicates whether the control will automatically resize to display its entire contents. |
| [setBackOleColor()](#setbackolecolor) | Gets and sets the ole color of the background. |
| [setEnabled()](#setenabled) | Indicates whether the control can receive the focus and respond to user-generated events. |
| [setForeOleColor()](#setforeolecolor) | Gets and sets the ole color of the foreground. Not applies to Image control. |
| [setHeight()](#setheight) | Gets and sets the height of the control in unit of points. |
| [setIMEMode()](#setimemode) | Gets and sets the default run-time mode of the Input Method Editor for the control as it receives focus. The value of th |
| [setLocked()](#setlocked) | Indicates whether data in the control is locked for editing. |
| [setMouseIcon()](#setmouseicon) | Gets and sets a custom icon to display as the mouse pointer for the control. |
| [setMousePointer()](#setmousepointer) | Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMouse |
| [setTransparent()](#settransparent) | Indicates whether the control is transparent. |
| [setWidth()](#setwidth) | Gets and sets the width of the control in unit of point. |

### getBackOleColor() {#getbackolecolor}

Gets and sets the ole color of the background.

### getData() {#getdata}

Gets and sets the binary data of the control.

### getForeOleColor() {#getforeolecolor}

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

### getHeight() {#getheight}

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

### getIMEMode() {#getimemode}

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.

### getMouseIcon() {#getmouseicon}

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

### getMousePointer() {#getmousepointer}

Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.

### getPersistenceType() {#getpersistencetype}

Gets the persistence method to persist an ActiveX control. The value of the property is ActiveXPersistenceType integer constant.

### getRelationshipData(relId) {#getrelationshipdata}

Gets the relationship data.

| Parameter | Type | Description |
| --- | --- | --- |
| relId | String | The relationship id. |

**Returns:** Array of byte — `Array of byte` returns the relationship data.

### getType() {#gettype}

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

### getWidth() {#getwidth}

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

### isAutoSize() {#isautosize}

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

### isEnabled() {#isenabled}

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

### isLocked() {#islocked}

Indicates whether data in the control is locked for editing.

### isTransparent() {#istransparent}

Indicates whether the control is transparent.

### setAutoSize() {#setautosize}

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

### setBackOleColor() {#setbackolecolor}

Gets and sets the ole color of the background.

### setEnabled() {#setenabled}

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

### setForeOleColor() {#setforeolecolor}

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

### setHeight() {#setheight}

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

### setIMEMode() {#setimemode}

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.

### setLocked() {#setlocked}

Indicates whether data in the control is locked for editing.

### setMouseIcon() {#setmouseicon}

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

### setMousePointer() {#setmousepointer}

Gets and sets the type of icon displayed as the mouse pointer for the control. The value of the property is ControlMousePointerType integer constant.

### setTransparent() {#settransparent}

Indicates whether the control is transparent.

### setWidth() {#setwidth}

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