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


ExportGIF Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Classes > E > ExportGIF Class
ArcGIS Developer Help

ExportGIFClass Class

Class used to export maps to GIF (Graphics Interchange Format).

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IExport Provides access to members that control the Export.
IExportGIF Provides access to members that control the GIF (Graphics Interchange Format) Export.
IExportImage Provides access to members that control the Image Export.
ISettingsInRegistry Provides access to members that control storing/restoring of object settings to/from the registry.
ISupportErrorInfo (esriSystem)
IWorldFileSettings Provides access to members that control the settings of the World File Exporter.
IWorldFileSettings2 Provides access to members that control the additional settings of the World File Exporter.

Remarks

Use the ExportGIF CoClass to export your map to GIF (Graphics Interchange Format) format.  GIF files are a standard raster format for use on the Web. GIFs cannot contain more than 256 colors (8 bits per pixel), which makes them smaller than other file formats. They are a good choice for maps that contain a limited number of colors, but may not display raster data correctly due to the color limitation. GIF files also have the ability to define a transparent color. This allows part of the image to display as transparent in a web browser, allowing backgrounds images or colors to show through.