PdfWriter

Overview

PdfWriter is a class in Aspose.Page FOSS for Python.

Serialize a render document into PDF 1.4 bytes.

This class provides 2 methods for working with PdfWriter objects in Python programs. Available methods include: __init__, write. All public members are accessible to any Python application after installing the Aspose.Page FOSS for Python package.

Methods

SignatureDescription
__init__(metadata: PdfMetadata, no_compression: bool, image_provider: Callable[[str], ImageResource] | None, font_provider: Callable[[str, set[int]], PdfEmbeddedFont | None] | None)
write(document: RenderDocument)bytesSerialize a render document to PDF 1.4 bytes.

See Also