Shapes¶
- class Shapes(impl: Any)¶
A collection of all
shapeobjects on the specified sheet:>>> import xlwings as xw >>> xw.books['Book1'].sheets[0].shapes Shapes([<Shape 'Oval 1' in <Sheet [Book1]Sheet1>>, <Shape 'Rectangle 1' in <Sheet [Book1]Sheet1>>])
Added in version 0.9.0.
- property api: Any¶
Returns the native object (
pywin32orappscriptobj) of the engine being used.
- property count: int¶
Returns the number of objects in the collection.