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


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

ExportJPEGClass Class

Class used to export maps to JPEG (Joint Photographic Experts Group) 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.
IExportImage Provides access to members that control the Image Export.
IExportJPEG Provides access to members that control the JPEG (Joint Photographic Experts Group) 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 ExportJPEG CoClass to export your map to JPEG (Joint Photographic Experts Group) format.  JPEG files are compressed image files. They support 24-bit color and are a good choice for use on the Web, because they provide control over output quality and size and can be more compact than many other file types.

The JPEG format uses "lossy" compression, meaning many pixel values will be discarded upon compression.  Repeated editing and saving of a file stored with lossy compression can greatly degrade legibility of the stored image.  When exporting maps to a format with lossy compression, be certain that small elements (map labels, point symbols, etc.) remain legible at the selected resolution and compression level.