add method

Contents
[ ]

add

Adds an OleObject to the collection.

Returns

OleObject object index.

def add(self, upper_left_row, upper_left_column, height, width, image_data):
    ...
ParameterTypeDescription
upper_left_rowintUpper left row index.
upper_left_columnintUpper left column index.
heightintHeight of oleObject, in unit of pixel.
widthintWidth of oleObject, in unit of pixel.
image_databytesImage of ole object as byte array.

add

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):
    ...
ParameterTypeDescription
upper_left_rowintUpper left row index.
upper_left_columnintUpper left column index.
heightintHeight of oleObject, in unit of pixel.
widthintWidth of oleObject, in unit of pixel.
image_databytesImage of ole object as byte array.
linked_filestr

See Also