| Example-VB | Example-VC++ |
Returns the compression type of the current image.
| Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
| Ö | Imaging for Windows 95 and 98 |
| Ö | Imaging for Windows NT 4.0 |
Image Admin control
object.CompressionType[=value]
CompressionTypeValue (Integer)
| Constant | Setting | Description |
| CompTypeUnk | 0 | Unknown |
| CompTypeNone | 1 | No compression |
| CompTypeGroup3 | 2 | Group 3 1D FAX |
| CompTypeGroup3Huff | 3 | Group 3 Modified Huffman |
| CompTypePacked | 4 | PackBits |
| CompTypeGroup4 | 5 | Group 4 2D FAX |
| CompTypeJPEG | 6 | JPEG |
| 7 | Reserved | |
| CompTypeGroup32DFax | 8 | Group 3 2D FAX |
| CompTypeLZW | 9 | LZW |
The value returned by this property is for the image page specified by the PageNumber property. If the Image property is empty, the value returned is 0 (zero).
This property is read-only.