Aspose::Words::Rendering::ShapeRenderer class
Contents
[
Hide
]ShapeRenderer class
Provides methods to render an individual Shape or GroupShape to a raster or vector image or to a Graphics object. To learn more, visit the Working with Shapes documentation article.
class ShapeRenderer : public Aspose::Words::Rendering::NodeRendererBase
Methods
Method | Description |
---|---|
get_BoundsInPoints() const | Gets the actual bounds of the shape in points. |
get_OpaqueBoundsInPoints() | Gets the opaque bounds of the shape in points. |
get_SizeInPoints() | Gets the actual size of the shape in points. |
GetBoundsInPixels(float, float) | Calculates the bounds of the shape in pixels for a specified zoom factor and resolution. |
GetBoundsInPixels(float, float, float) | Calculates the bounds of the shape in pixels for a specified zoom factor and resolution. |
GetOpaqueBoundsInPixels(float, float) | Calculates the opaque bounds of the shape in pixels for a specified zoom factor and resolution. |
GetOpaqueBoundsInPixels(float, float, float) | Calculates the opaque bounds of the shape in pixels for a specified zoom factor and resolution. |
GetSizeInPixels(float, float) | Calculates the size of the shape in pixels for a specified zoom factor and resolution. |
GetSizeInPixels(float, float, float) | Calculates the size of the shape in pixels for a specified zoom factor and resolution. |
GetType() const override | |
Is(const System::TypeInfo&) const override | |
NodeRendererBase() | |
RenderToScale(const System::SharedPtr<System::Drawing::Graphics>&, float, float, float) | Renders the shape into a Graphics object to a specified scale. |
RenderToSize(const System::SharedPtr<System::Drawing::Graphics>&, float, float, float, float) | Renders the shape into a Graphics object to a specified size. |
Save(const System::String&, System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>) | Renders the shape into an image and saves into a file. |
Save(const System::String&, System::SharedPtr<Aspose::Words::Saving::SvgSaveOptions>) | Renders the shape into an SVG image and saves into a file. |
Save(const System::SharedPtr<System::IO::Stream>&, System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>) | Renders the shape into an image and saves into a stream. |
Save(const System::SharedPtr<System::IO::Stream>&, System::SharedPtr<Aspose::Words::Saving::SvgSaveOptions>) | Renders the shape into an SVG image and saves into a stream. |
Save(std::basic_ostream<CharType, Traits>&, System::SharedPtr<Aspose::Words::Saving::ImageSaveOptions>) | |
Save(std::basic_ostream<CharType, Traits>&, System::SharedPtr<Aspose::Words::Saving::SvgSaveOptions>) | |
ShapeRenderer(const System::SharedPtr<Aspose::Words::Drawing::ShapeBase>&) | Initializes a new instance of this class. |
static Type() |
See Also
- Class NodeRendererBase
- Namespace Aspose::Words::Rendering
- Library Aspose.Words for C++