PDFCompressionType

Description

Returns or sets the compression type for PDF files.

Data type

EnumDWT_PDFCompressionType (int)

Syntax

.PDFCompressionType = EnumDWT_PDFCompressionType.PDF_AUTO;

Parameters

None

Remarks

Allowed Values PDF compression type Description Supported image format
0 EnumDWT_PDFCompressionType.PDF_AUTO Auto mode 1, 4, 8, 24 bit
1 EnumDWT_PDFCompressionType.PDF_FAX3 CCITT Group 3 fax encoding 1 bit
2 EnumDWT_PDFCompressionType.PDF_FAX4 CCITT Group 4 fax encoding 1 bit
3 EnumDWT_PDFCompressionType.PDF_LZW Lempel-Ziv & Welch 1, 4, 8, 24 bit
4 EnumDWT_PDFCompressionType.PDF_RLE CCITT modified Huffman RLE 1 bit
5 EnumDWT_PDFCompressionType.PDF_JPEG JPEG encoding 4, 8, 24 bit

When an error occurs, check ErrorCode or ErrorString for error information.

See also

SaveAsPDF()
SaveAllAsPDF()