This document is archived and information here might be outdated. Recommended version. |
The TIFF Compression type.
[Visual Basic .NET] Public Property CompressionType As esriTIFFCompression
[C#] public esriTIFFCompression CompressionType {get; set;}
[C++]
HRESULT get_CompressionType(
esriTIFFCompression type
);
[C++]
HRESULT put_CompressionType(
esriTIFFCompression* type
);
[C++]
Parameters type [in]
type is a parameter of type esriTIFFCompression type [out, retval]
type is a parameter of type esriTIFFCompression*
The selected compression type must be appropriate for the current image type. The image type can be set via the IExportImage::ImageType property. If you select the wrong image compression type for the current image type, selecting esriTIFFCompressionFax4 for a TrueColor image, for example, the export object will throw a runtime error. The error will state "Object set up incorrectly and cannot perform the requested operation."