renderToGraphics

Contents
[ ]

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

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.

Returns

void

Exception

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

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

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%).

Returns

void

Exception

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

renderToGraphics(NotesCommentsLayoutingOptions notesCommentsLayouting, Graphics2D graphics) method

Renders certain slide to a Graphics object.

Parameters

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

Returns

void

Exception

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

renderToGraphics(RenderingOptions options, Graphics2D graphics) method

Renders certain slide to a Graphics object.

Parameters

NameTypeDescription
optionsRenderingOptionsRendering options.
graphicsGraphics2DThe object where to render to.

Returns

void

Exception

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

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

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.

Returns

void

Exception

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

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

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.

Returns

void

Exception

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