SvgDevice

Overview

SvgDevice is a class in Aspose.Tex FOSS for Python. Inherits from: OutputDevice.

SVG output device – wraps SvgWriter.

This class provides 4 methods for working with SvgDevice objects in Python programs. Available methods include: __init__, finalize, get_all_pages, get_bytes. All public members are accessible to any Python application after installing the Aspose.Tex FOSS for Python package. Properties: destination.

Properties

NameTypeAccessDescription
destinationPath | io.BytesIOReadGets the destination.

Methods

SignatureDescription
__init__(destination: Path | io.BytesIO | None)
finalize()
get_bytes()bytes | NoneReturns the bytes.
get_all_pages()list[bytes] | NoneReturns the all pages.

See Also