GetImage()

Shape::GetImage() method

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

System::SharedPtr<IImage> Aspose::Slides::Shape::GetImage() override

Return Value

Shape thumbnail.

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

Returns shape thumbnail.

System::SharedPtr<IImage> Aspose::Slides::Shape::GetImage(ShapeThumbnailBounds bounds, float scaleX, float scaleY) override

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