PdfSaveOptions

Overview

PdfSaveOptions is a class in Aspose.Words for Python.

Options for saving documents as PDF.

Properties

NameTypeAccessDescription
compliancestrReadSets the PDF/A compliance level for the saved document
export_document_structureboolReadDetermines whether document structure tags are exported
image_compressionstrReadSpecifies the compression algorithm used for images
jpeg_qualityintReadDefines the JPEG quality (0‑100) for compressed images
text_compressionstrReadSelects the compression method for PDF text streams
embed_full_fontsboolReadIndicates if full font files should be embedded in the PDF
use_core_fontsboolReadEnables use of standard PDF core fonts instead of embedding
font_embedding_modestrReadControls which fonts are embedded during PDF creation
page_modestrReadSets the initial page view mode (e.g., thumbnails, full screen)
color_modestrReadChooses the color rendering mode such as grayscale or RGB
export_bookmarks_outlineboolReadDetermines if document headings become PDF bookmarks
preserve_form_fieldsboolReadKeeps interactive form fields in the exported PDF
memory_optimizationboolReadEnables memory‑saving techniques during PDF export
zoom_factorintReadSets the default zoom percentage for the PDF viewer

Methods

SignatureDescription
__init__()