render_to_graphics method

render_to_graphics

Renders certain slide to a Graphics object.

def render_to_graphics(self, options, graphics):
    ...
ParameterTypeDescription
optionsIRenderingOptionsRendering options.
graphicsaspose.pydrawing.GraphicsThe object where to render to.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

render_to_graphics

Renders certain slide to a Graphics object using specified size.

def render_to_graphics(self, options, graphics, rendering_size):
    ...
ParameterTypeDescription
optionsIRenderingOptionsRendering options.
graphicsaspose.pydrawing.GraphicsThe object where to render to.
rendering_sizeaspose.pydrawing.SizeThe maximum dimensions (in pixels) that can be occupied by the rendered slide.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

render_to_graphics

Renders certain slide to a Graphics object with custom scaling.

def render_to_graphics(self, options, graphics, scale_x, scale_y):
    ...
ParameterTypeDescription
optionsIRenderingOptionsRendering options.
graphicsaspose.pydrawing.GraphicsThe object where to render to.
scale_xfloatThe scale for rendering the slide (1.0 is 100%) in the x-axis direction.
scale_yfloatThe scale for rendering the slide (1.0 is 100%) in the y-axis direction.

Exceptions

ExceptionDescription
RuntimeError(Proxy error(InvalidOperationException))Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull

See Also