Sets the compression type to be used on each image segment inserted into the PDF file.
CompressionTypes
Provides information about PDF Compression options PdfCompressorCompressionTypes.
This method can be called before inserting a compressed image into a PDF file by calling the following methods:
If the user does not call this method before using these methods, then the insertion process will use the default compression types. For more information, refer to Creating a Compressed PDF File.
Refer to PdfCompressorEngine example.