Initializes a new instance of PdfOptimizationOptions with default MaxResolution of 300 and ImageQuality of 100.
For details and code samples, see the online documentation page.
def__init__(self):...
Example
fromgroupdocs.viewer.optionsimportPdfOptimizationOptions# Create options with default settingspdf_opts=PdfOptimizationOptions()# Enable removal of unused objects to reduce file sizepdf_opts.remove_unused_objects=True