get_thumbnail method

get_thumbnail

Returns shape thumbnail. ShapeThumbnailBounds.Shape shape thumbnail bounds type is used by default.

Returns

Shape thumbnail.

def get_thumbnail(self):
    ...

get_thumbnail

Returns shape thumbnail.

Returns

Shape thumbnail or None in case when ShapeThumbnailBounds.Appearance is used and a shape doesn’t have visible elements.

def get_thumbnail(self, bounds, scale_x, scale_y):
    ...
ParameterTypeDescription
boundsShapeThumbnailBoundsShape thumbnail bounds type.
scale_xfloatX scale
scale_yfloatY scale

See Also