RenderToGraphics
RenderToGraphics(IRenderingOptions, Graphics)
Renders certain slide to a Graphics object.
public void RenderToGraphics(IRenderingOptions options, Graphics graphics)
| Parameter | Type | Description |
|---|
| options | IRenderingOptions | Rendering options. |
| graphics | Graphics | The object where to render to. |
Exceptions
| exception | condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
See Also
RenderToGraphics(IRenderingOptions, Graphics, float, float)
Renders certain slide to a Graphics object with custom scaling.
public void RenderToGraphics(IRenderingOptions options, Graphics graphics, float scaleX,
float scaleY)
| Parameter | Type | Description |
|---|
| options | IRenderingOptions | Rendering options. |
| graphics | Graphics | The object where to render to. |
| scaleX | Single | The scale for rendering the slide (1.0 is 100%) in the x-axis direction. |
| scaleY | Single | The scale for rendering the slide (1.0 is 100%) in the y-axis direction. |
Exceptions
| exception | condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
See Also
RenderToGraphics(IRenderingOptions, Graphics, Size)
Renders certain slide to a Graphics object using specified size.
public void RenderToGraphics(IRenderingOptions options, Graphics graphics, Size renderingSize)
| Parameter | Type | Description |
|---|
| options | IRenderingOptions | Rendering options. |
| graphics | Graphics | The object where to render to. |
| renderingSize | Size | The maximum dimensions (in pixels) that can be occupied by the rendered slide. |
Exceptions
| exception | condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
See Also