render_to_graphics method
render_to_graphics
Renders certain slide to a Graphics object.
def render_to_graphics(self, options, graphics):
...
Parameter | Type | Description |
---|
options | IRenderingOptions | Rendering options. |
graphics | aspose.pydrawing.Graphics | The object where to render to. |
Exceptions
Exception | Description |
---|
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):
...
Parameter | Type | Description |
---|
options | IRenderingOptions | Rendering options. |
graphics | aspose.pydrawing.Graphics | The object where to render to. |
rendering_size | aspose.pydrawing.Size | The maximum dimensions (in pixels) that can be occupied by the rendered slide. |
Exceptions
Exception | Description |
---|
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):
...
Parameter | Type | Description |
---|
options | IRenderingOptions | Rendering options. |
graphics | aspose.pydrawing.Graphics | The object where to render to. |
scale_x | float | The scale for rendering the slide (1.0 is 100%) in the x-axis direction. |
scale_y | float | The scale for rendering the slide (1.0 is 100%) in the y-axis direction. |
Exceptions
Exception | Description |
---|
RuntimeError(Proxy error(InvalidOperationException)) | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
See Also