get方法

get(self, index)

获取指定索引处的 Comment 元素。

返回

指定索引处的元素。


def get(self, index):
    ...
范围类型描述
indexint元素的从零开始的索引。

get(self, cell_name)

获取指定单元格处的 Comment 元素。

返回

指定单元格处的元素。


def get(self, cell_name):
    ...
范围类型描述
cell_namestrCell 名称。

get(self, row, column)

通过 .Net 添加 API for Python,因为 this[int, int] 不受支持

返回

指定单元格处的元素。


def get(self, row, column):
    ...
范围类型描述
rowint行索引。
columnint列索引。

也可以看看