Aspose::Words::Rendering::NodeRendererBase::RenderToScale method
Contents
[
Hide
]NodeRendererBase::RenderToScale method
Renders the shape into a Graphics object to a specified scale.
System::Drawing::SizeF Aspose::Words::Rendering::NodeRendererBase::RenderToScale(const System::SharedPtr<System::Drawing::Graphics> &graphics, float x, float y, float scale)
Parameter | Type | Description |
---|---|---|
graphics | const System::SharedPtr<System::Drawing::Graphics>& | The object where to render to. |
x | float | The X coordinate (in world units) of the top left corner of the rendered shape. |
y | float | The Y coordinate (in world units) of the top left corner of the rendered shape. |
scale | float | The scale for rendering the shape (1.0 is 100%). |
ReturnValue
The width and height (in world units) of the rendered shape.
See Also
- Class NodeRendererBase
- Namespace Aspose::Words::Rendering
- Library Aspose.Words for C++