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