write_as_svg method
write_as_svg
Saves the slide content as an SVG file.
def write_as_svg(self, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Target stream |
Examples
The following code example demonstrates how to convert the first slide from a PowerPoint presentation into an SVG file.
write_as_svg
Saves the slide content as an SVG file.
def write_as_svg(self, stream, svg_options):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Target stream |
| svg_options | ISVGOptions | SVG generation options |
Examples
The following code example demonstrates how to convert the first slide from a PowerPoint presentation into an SVG file with options.
See Also
- class
ISVGOptions - class
Slide - module
aspose.slides - library
Aspose.Slides