Returns or sets the compression type of PDF files.

Namespace: Dynamsoft.DotNet.TWAIN
Assembly: DynamicDotNetTWAIN (in DynamicDotNetTWAIN.dll) Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public DWTPDFCompressionType PDFCompressionType { get; set; }
Visual Basic
Public Property PDFCompressionType As DWTPDFCompressionType
	Get
	Set

Remarks

Allowed ValuesPDF compression typeDescriptionSupported image formats
0PDF_AUTOAuto mode1, 4, 8, 24 bit
1PDF_FAX3CCITT Group 3 fax encoding1 bit
2PDF_FAX4CCITT Group 4 fax encoding1 bit
3PDF_LZWLempel-Ziv Welch1, 4, 8, 24 bit
4PDF_RLECCITT modified Huffman RLE1 bit
5PDF_JPEGJPEG encoding4, 8, 24 bit

Exceptions

ExceptionCondition
Dynamsoft.DotNet.TWAIN..::..TwainException When an error occurs and IfThrowException property is true, an exception will be thrown. When IfThrowException property is false, please check ErrorCode and ErrorString.

See Also