add方法

add(self, upper_left_row, upper_left_column, height, width, image_data)

将 OleObject 添加到集合中。

返回

OleObject 对象索引。


def add(self, upper_left_row, upper_left_column, height, width, image_data):
    ...
范围类型描述
upper_left_rowint左上行索引。
upper_left_columnint左上角的列索引。
heightintoleObject 的高度,以像素为单位。
widthintoleObject 的宽度,以像素为单位。
image_databytes作为字节数组的 OLE 对象图像。

add(self, upper_left_row, upper_left_column, height, width, image_data, linked_file)

将链接的 OleObject 添加到集合中。

返回

OleObject 对象索引。


def add(self, upper_left_row, upper_left_column, height, width, image_data, linked_file):
    ...
范围类型描述
upper_left_rowint左上行索引。
upper_left_columnint左上角的列索引。
heightintoleObject 的高度,以像素为单位。
widthintoleObject 的宽度,以像素为单位。
image_databytes作为字节数组的 OLE 对象图像。
linked_filestr

也可以看看