add方法

add(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_row int 左上行索引。
upper_left_column int 左上列索引。
height int oleObject 的高度,以像素为单位。
width int oleObject 的宽度,以像素为单位。
image_data bytes ole 对象的图像作为字节数组。

add(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_row int 左上行索引。
upper_left_column int 左上列索引。
height int oleObject 的高度,以像素为单位。
width int oleObject 的宽度,以像素为单位。
image_data bytes ole 对象的图像作为字节数组。
linked_file str

也可以看看