ArcObjects Library Reference (Output)  

IExportTIFF.CompressionType Property

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 [out, retval]

  type is a parameter of type esriTIFFCompression

type [in]

  type is a parameter of type esriTIFFCompression

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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."

See Also

IExportTIFF Interface