class Shapes(impl)#

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 <Sheet [Book1]Sheet1>>,
        <Shape 'Rectangle 1' in <Sheet [Book1]Sheet1>>])

New in version 0.9.0.

property api#

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

property count#

Returns the number of objects in the collection.