Applies to
Description
The CompressionLevel property specifies the compression level of the PDF document. The compression level setting on a PDF document mainly affects the high-resolution images in the document. There is little compression difference on text.
Datatype
Long.
Usage
In scripts
There are 10 compression levels, 0 to 9, from no compression to the largest compression. 6 is the default value.
The following example sets the compression level to 9:
lpdf_doc.CompressionLevel = 9