This document is archived and information here might be outdated.  Recommended version.


IExportTIFF.CompressionType Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Interfaces > IE > IExportTIFF Interface > IExportTIFF.CompressionType Property
ArcGIS Developer Help

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 [in]

type is a parameter of type esriTIFFCompression type [out, retval]
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