Aspose::Words::Rendering::NodeRendererBase::RenderToScale method

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)
ParameterTypeDescription
graphicsconst System::SharedPtr<System::Drawing::Graphics>&The object where to render to.
xfloatThe X coordinate (in world units) of the top left corner of the rendered shape.
yfloatThe Y coordinate (in world units) of the top left corner of the rendered shape.
scalefloatThe scale for rendering the shape (1.0 is 100%).

ReturnValue

The width and height (in world units) of the rendered shape.

See Also