renderToGraphics
Contents
[
Hide
]renderToGraphics(NotesCommentsLayoutingOptions notesCommentsLayouting, Graphics2D graphics, int width, int height) method
Renders certain slide to a Graphics object using specified size.
Parameters
| Name | Type | Description |
|---|---|---|
| notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
| graphics | Graphics2D | The object where to render to. |
| width | int | The maximum width (in pixels) that can be occupied by the rendered slide. |
| height | int | The maximum height (in pixels) that can be occupied by the rendered slide. |
Returns
void
Exception
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown 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
| Name | Type | Description |
|---|---|---|
| notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
| graphics | Graphics2D | The object where to render to. |
| scale | float | The scale for rendering the slide (1.0 is 100%). |
Returns
void
Exception
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics(NotesCommentsLayoutingOptions notesCommentsLayouting, Graphics2D graphics) method
Renders certain slide to a Graphics object.
Parameters
| Name | Type | Description |
|---|---|---|
| notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
| graphics | Graphics2D | The object where to render to. |
Returns
void
Exception
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics(RenderingOptions options, Graphics2D graphics) method
Renders certain slide to a Graphics object.
Parameters
| Name | Type | Description |
|---|---|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
Returns
void
Exception
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown 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
| Name | Type | Description |
|---|---|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
| scaleX | float | The scale for rendering the slide (1.0 is 100%) in the x-axis direction. |
| scaleY | float | The scale for rendering the slide (1.0 is 100%) in the y-axis direction. |
Returns
void
Exception
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown 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
| Name | Type | Description |
|---|---|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
| renderingSize | Dimension | The maximum dimensions (in pixels) that can be occupied by the rendered slide. |
Returns
void
Exception
| Exception | Condition |
|---|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |