Shapes

class Shapes

A collection of all shape objects on the specified sheet:

>>> import xlwings as xw
>>> xw.books['Book1'].sheets[0].shapes
Shapes([<Shape 'Oval 1' in Sheet1>,
        <Shape 'Rectangle 1' in Sheet1>])

在 0.9.0 版本加入.

property api: Any

Returns the native object (pywin32 or appscript obj) of the engine being used.

property count: int

返回集合中的对象数。