GetThumbnail

IShape.GetThumbnail method (1 of 2)

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

public Bitmap GetThumbnail()

Return Value

Shape thumbnail.

See Also


IShape.GetThumbnail method (2 of 2)

Returns shape thumbnail.

public Bitmap GetThumbnail(ShapeThumbnailBounds bounds, float scaleX, float scaleY)
Parameter Type Description
bounds ShapeThumbnailBounds Shape thumbnail bounds type.
scaleX Single X scale
scaleY Single Y scale

Return Value

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

See Also