OleObjectCollection
Contents
[
Hide
]OleObjectCollection class
Represents embedded OLE objects.
Properties
| Name | Type | Description |
|---|---|---|
| Count | int | |
| Item (int) | OleObject | Gets the OleObject element at the specified index. |
Methods
| Name | Description |
|---|---|
| add | Adds an OleObject to the collection. |
| clear | Remove all embedded OLE objects. |
| removeAt | Removes the element at the specified index. |
| iterator | |
| get | Reserved for internal use. |
| contains | Reserved for internal use. |
| indexOf | Reserved for internal use. |
OleObjectCollection.Count property
Type: int
OleObjectCollection.Item (int) property
Gets the OleObject element at the specified index.
Type: OleObject
add(topRow, leftColumn, height, width, imageData) (1 of 3)
Adds an OleObject to the collection.
| Parameter | Type | Description |
|---|---|---|
| upperLeftRow | Upper left row index. | |
| upperLeftColumn | Upper left column index. | |
| height | int | Height of oleObject, in unit of pixel. |
| width | int | Width of oleObject, in unit of pixel. |
| imageData | byte[] | Image of ole object as byte array. |
Returns: OleObject object index.
add(topRow, leftColumn, height, width, imageData, linkedFile) (2 of 3)
Adds a linked OleObject to the collection.
| Parameter | Type | Description |
|---|---|---|
| upperLeftRow | Upper left row index. | |
| upperLeftColumn | Upper left column index. | |
| height | int | Height of oleObject, in unit of pixel. |
| width | int | Width of oleObject, in unit of pixel. |
| imageData | byte[] | Image of ole object as byte array. |
| linkedFile | String |
Returns: OleObject object index.
add(value) (3 of 3)
Reserved for internal use.
clear()
Remove all embedded OLE objects.
removeAt(index)
Removes the element at the specified index.
| Parameter | Type | Description |
|---|---|---|
| index | int | The specified index. |
iterator()
get(index)
Reserved for internal use.
contains(value)
Reserved for internal use.
indexOf(value)
Reserved for internal use.