PdfSaveOptions
Overview
PdfSaveOptions is a class in Aspose.Words for Python.
Options for saving documents as PDF.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
compliance | str | Read | Sets the PDF/A compliance level for the saved document |
export_document_structure | bool | Read | Determines whether document structure tags are exported |
image_compression | str | Read | Specifies the compression algorithm used for images |
jpeg_quality | int | Read | Defines the JPEG quality (0‑100) for compressed images |
text_compression | str | Read | Selects the compression method for PDF text streams |
embed_full_fonts | bool | Read | Indicates if full font files should be embedded in the PDF |
use_core_fonts | bool | Read | Enables use of standard PDF core fonts instead of embedding |
font_embedding_mode | str | Read | Controls which fonts are embedded during PDF creation |
page_mode | str | Read | Sets the initial page view mode (e.g., thumbnails, full screen) |
color_mode | str | Read | Chooses the color rendering mode such as grayscale or RGB |
export_bookmarks_outline | bool | Read | Determines if document headings become PDF bookmarks |
preserve_form_fields | bool | Read | Keeps interactive form fields in the exported PDF |
memory_optimization | bool | Read | Enables memory‑saving techniques during PDF export |
zoom_factor | int | Read | Sets the default zoom percentage for the PDF viewer |
Methods
| Signature | Description |
|---|---|
__init__() |