The leading provider of version control solutions and TWAIN SDKs
  • Contact us









PDFCompressionType Property

Description

Returns or sets the compression type of PDF files. This is a runtime property.

ActiveX Edition Plug-in Edition Mac Edition
Since V5.0 Since V5.0 Since V6.4

Data type

Integer

Syntax

ObjectName. PDFCompressionType

Parameters

None.

Remarks

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
2PDF_FAX4 CCITT Group 4 fax encoding 1 bit
3 PDF_LZW Lempel-Ziv & Welch 1, 4, 8, 24 bit
4PDF_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.

See also

SaveAsPDF() method, SaveAllAsPDF() method