GetImage()

IShape::GetImage() method

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

virtual System::SharedPtr<IImage> Aspose::Slides::IShape::GetImage()=0

Return Value

Shape thumbnail.

IShape::GetImage(ShapeThumbnailBounds, float, float) method

Returns shape thumbnail.

virtual System::SharedPtr<IImage> Aspose::Slides::IShape::GetImage(ShapeThumbnailBounds bounds, float scaleX, float scaleY)=0

Arguments

ParameterTypeDescription
boundsShapeThumbnailBoundsShape thumbnail bounds type.
scaleXfloatX scale
scaleYfloatY scale

Return Value

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

See Also