PdfOptimizationOptions class

PdfOptimizationOptions class

Defines PDF optimization options.

The PdfOptimizationOptions type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of PdfOptimizationOptions.

Methods

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)

Properties

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.

See Also