ISlideRenderToGraphics Method (INotesCommentsLayoutingOptions, Graphics, Int32, Int32)

Note: This API is now obsolete.

Renders certain slide to a Graphics object.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.11.0.0 (21.11)
Syntax
[ObsoleteAttribute("Use ISlide.RenderToGraphics(IRenderingOptions, Graphics, int, int) instead. The method will be removed after release of version 21.4.")]
void RenderToGraphics(
	INotesCommentsLayoutingOptions notesCommentsLayouting,
	Graphics graphics,
	int width,
	int height
)

Parameters

notesCommentsLayouting
Type: Aspose.Slides.ExportINotesCommentsLayoutingOptions
Options for notes and comments layouting.
graphics
Type: System.DrawingGraphics
The object where to render to.
width
Type: SystemInt32
The maximum width (in pixels) that can be occupied by the rendered slide.
height
Type: SystemInt32
The maximum height (in pixels) that can be occupied by the rendered slide.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull
See Also