ISlideRenderToGraphics Method (IRenderingOptions, Graphics, Single, Single)

Renders certain slide to a Graphics object with custom scaling.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.1.0.0 (22.1)
Syntax
void RenderToGraphics(
	IRenderingOptions options,
	Graphics graphics,
	float scaleX,
	float scaleY
)

Parameters

options
Type: Aspose.Slides.ExportIRenderingOptions
Rendering options.
graphics
Type: System.DrawingGraphics
The object where to render to.
scaleX
Type: SystemSingle
The scale for rendering the slide (1.0 is 100%) in the x-axis direction.
scaleY
Type: SystemSingle
The scale for rendering the slide (1.0 is 100%) in the y-axis direction.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull
See Also