add method
Contents
[
Hide
]add(self, upper_left_row, upper_left_column, height, width, image_data)
Adds an OleObject to the collection.
Returns
OleObject object index.
def add(self, upper_left_row, upper_left_column, height, width, image_data):
...
| Parameter | Type | Description |
|---|---|---|
| upper_left_row | int | Upper left row index. |
| upper_left_column | int | Upper left column index. |
| height | int | Height of oleObject, in unit of pixel. |
| width | int | Width of oleObject, in unit of pixel. |
| image_data | bytes | Image of ole object as byte array. |
add(self, upper_left_row, upper_left_column, height, width, image_data, linked_file)
Adds a linked OleObject to the collection.
Returns
OleObject object index.
def add(self, upper_left_row, upper_left_column, height, width, image_data, linked_file):
...
| Parameter | Type | Description |
|---|---|---|
| upper_left_row | int | Upper left row index. |
| upper_left_column | int | Upper left column index. |
| height | int | Height of oleObject, in unit of pixel. |
| width | int | Width of oleObject, in unit of pixel. |
| image_data | bytes | Image of ole object as byte array. |
| linked_file | System.String |
See Also
- module
aspose.cells.drawing - class
OleObject - class
OleObjectCollection