Returns or sets the compression type of PDF files. This is a runtime property.
Integer
ObjectName. PDFCompressionType
None.
| Allowed Values | PDF compression type | Description | Supported image format |
| 0 | PDF_AUTO | Auto mode | 1, 4, 8, 24 bit |
| 1 | PDF_FAX3 | CCITT Group 3 fax encoding | 1 bit |
| 2 | PDF_FAX4 | CCITT Group 4 fax encoding | 1 bit |
| 3 | PDF_LZW | Lempel-Ziv & Welch | 1, 4, 8, 24 bit |
| 4 | PDF_RLE | CCITT modified Huffman RLE | 1 bit |
| 5 | PDF_JPEG | JPEG encoding | 4, 8, 24 bit |
When an error occurs and IfThrowException property is TRUE, an exception will be thrown. Check ErrorCode property and ErrorString property for error information.
SaveAsPDF() method, SaveAllAsPDF() method
TWAIN ActiveX | TWAIN Plug-in | TWAIN Control | TWAIN SDK | Scanner COM
Software Configuration Management | Version Control | Source Control
Copyright © 2009 Dynamsoft Corporation. All Rights Reserved.