ISlideRenderToGraphics Method (IRenderingOptions, Graphics, Size)

Renders certain slide to a Graphics object using specified size.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
void RenderToGraphics(
	IRenderingOptions options,
	Graphics graphics,
	Size renderingSize
)

Parameters

options
Type: Aspose.Slides.ExportIRenderingOptions
Rendering options.
graphics
Type: System.DrawingGraphics
The object where to render to.
renderingSize
Type: System.DrawingSize
The maximum dimensions (in pixels) that can be occupied by the rendered slide.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull
See Also