write_as_emf method
write_as_emf
Saves the SVG image as an EMF file.
def write_as_emf(self, stream):
...
| Parameter | Type | Description |
|---|---|---|
| stream | io.RawIOBase | Target stream |
Examples
The following example shows how to save the SVG image to the metafile.
This sample demonstrates how to add the SVG image as a metafile to the presentation image collection.
Exceptions
| Exception | Description |
|---|---|
| RuntimeError(Proxy error(ArgumentNullException)) | Target stream is None |
See Also
- class
SvgImage - module
aspose.slides - library
Aspose.Slides