PdfOptimizationOptions class
Leave feedback
On this page
Defines PDF optimization options.
The PdfOptimizationOptions type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of PdfOptimizationOptions. |
| Method | Description |
|---|---|
| equals | Determines whether two object instances are equal. (inherited from ValueObject) |
| equals_object | (inherited from ValueObject) |
| equals_value_object | (inherited from ValueObject) |
| get_hash_code | Serves as the default hash function. (inherited from ValueObject) |
| Property | Description |
|---|---|
| compress_images | The flag indicating whether all images in the document are re‑compressed. When set to True, compression is defined by the ImageQuality property. |
| font_subset_strategy | The font subset strategy. |
| image_quality | The image quality as a percentage, where 100% represents unchanged quality and image size; set to less than 100 to decrease the image size. |
| link_duplicate_streams | The option to link duplicate streams. |
| remove_unused_objects | The option to remove unused objects. |
| remove_unused_streams | The option to remove unused streams. |
| unembed_fonts | The property makes fonts not embedded when set to True. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.