renderToGraphics

Contents
[ ]

renderToGraphics(NotesCommentsLayoutingOptions notesCommentsLayouting, Graphics2D graphics, int width, int height) function

Renders certain slide to a Graphics object using specified size.

Parameters

NameTypeDescription
notesCommentsLayoutingNotesCommentsLayoutingOptionsOptions for notes and comments layouting.
graphicsGraphics2DThe object where to render to.
widthintThe maximum width (in pixels) that can be occupied by the rendered slide.
heightintThe maximum height (in pixels) that can be occupied by the rendered slide.

Error

ErrorCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

renderToGraphics(NotesCommentsLayoutingOptions notesCommentsLayouting, Graphics2D graphics, float scale) function

Renders certain slide to a Graphics object using specified scale.

Parameters

NameTypeDescription
notesCommentsLayoutingNotesCommentsLayoutingOptionsOptions for notes and comments layouting.
graphicsGraphics2DThe object where to render to.
scalefloatThe scale for rendering the slide (1.0 is 100%).

Error

ErrorCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

renderToGraphics(NotesCommentsLayoutingOptions notesCommentsLayouting, Graphics2D graphics) function

Renders certain slide to a Graphics object.

Parameters

NameTypeDescription
notesCommentsLayoutingNotesCommentsLayoutingOptionsOptions for notes and comments layouting.
graphicsGraphics2DThe object where to render to.

Error

ErrorCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

renderToGraphics(RenderingOptions options, Graphics2D graphics) function

Renders certain slide to a Graphics object.

Parameters

NameTypeDescription
optionsRenderingOptionsRendering options.
graphicsGraphics2DThe object where to render to.

Error

ErrorCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

renderToGraphics(RenderingOptions options, Graphics2D graphics, float scaleX, float scaleY) function

Renders certain slide to a Graphics object with custom scaling.

Parameters

NameTypeDescription
optionsRenderingOptionsRendering options.
graphicsGraphics2DThe object where to render to.
scaleXfloatThe scale for rendering the slide (1.0 is 100%) in the x-axis direction.
scaleYfloatThe scale for rendering the slide (1.0 is 100%) in the y-axis direction.

Error

ErrorCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

renderToGraphics(RenderingOptions options, Graphics2D graphics, Dimension renderingSize) function

Renders certain slide to a Graphics object using specified size.

Parameters

NameTypeDescription
optionsRenderingOptionsRendering options.
graphicsGraphics2DThe object where to render to.
renderingSizeDimensionThe maximum dimensions (in pixels) that can be occupied by the rendered slide.

Error

ErrorCondition
InvalidOperationExceptionThrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull