PdfDevice

Overview

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

PDF output device – wraps PdfWriter.

This class provides 3 methods for working with PdfDevice objects in Python programs. Available methods include: __init__, finalize, 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.

See Also