OleObjectCollection
Source: aspose.
Represents embedded OLE objects.
Methods
add(upperLeftRow, upperLeftColumn, height, width, imageData) → Number
Adds an OleObject to the collection.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
upperLeftRow |
Number |
|
Upper left row index. |
upperLeftColumn |
Number |
|
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
OleObject object index.
add(upperLeftRow, upperLeftColumn, height, width, imageData, linkedFile) → Number
Adds a linked OleObject to the collection.
Parameters
Name | Type | Optional | Description |
---|---|---|---|
upperLeftRow |
Number |
|
Upper left row index. |
upperLeftColumn |
Number |
|
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
OleObject object index.
add()
Reserved for internal use.
clear()
Remove all embedded OLE objects.
contains()
Reserved for internal use.
get(index) → OleObject
Gets the OleObject element at the specified index.
Parameter
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
The zero based index of the element. |
- Returns
-
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
Name | Type | Optional | Description |
---|---|---|---|
index |
Number |
|
The specified index. |