CompressionType Property

Example-VB

Returns the compression type of the image specified in the Image property, and the page specified in the Page property.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.CompressionType

Data Type

Integer (enumerated)

Property settings are expressed using the following values:

Setting Description

0 Unknown
1 No compression
2 Group3(1D)
3 Group3(Modified Huffman)
4 PackBits
5 Group4(2D)
6 JPEG
7 Reserved
8 Group3(2D)
9 LZW

Remarks

The CompressionType value is independent of an image being displayed.  If the image specified in the Image and Page properties is being displayed, the value indicates the compression type of the displayed image.  If the image specified in the Image and Page properties is not being displayed, the value indicates the compression type of the image specified in the Image property.

Available at run-time as read-only.