RenderToGraphics

RenderToGraphics(IRenderingOptions, Graphics)

Renders certain slide to a Graphics object.

public void RenderToGraphics(IRenderingOptions options, Graphics graphics)
ParameterTypeDescription
optionsIRenderingOptionsRendering options.
graphicsGraphicsThe object where to render to.

Exceptions

exceptioncondition
InvalidOperationExceptionThrown 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)
ParameterTypeDescription
optionsIRenderingOptionsRendering options.
graphicsGraphicsThe object where to render to.
scaleXSingleThe scale for rendering the slide (1.0 is 100%) in the x-axis direction.
scaleYSingleThe scale for rendering the slide (1.0 is 100%) in the y-axis direction.

Exceptions

exceptioncondition
InvalidOperationExceptionThrown 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)
ParameterTypeDescription
optionsIRenderingOptionsRendering options.
graphicsGraphicsThe object where to render to.
renderingSizeSizeThe maximum dimensions (in pixels) that can be occupied by the rendered slide.

Exceptions

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

See Also