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


ExportPNG CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Output > ESRI.ArcGIS.Output > Classes > E > ExportPNG CoClass (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Output)  

ExportPNG CoClass

Class used to export maps to PNG (Portable Network Graphics) 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.
IExportPNG Provides access to members that control the PNG (Portable Network Graphics) 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 ExportPNG CoClass to export your map to PNG (Portable Network Graphics) format.  PNG is a raster format designed for use on the Web. It supports 24-bit color and is compressed.  PNG 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 background images or colors to show through.  This format is gaining popularity in the web design community.

The PNG format uses "lossless" compression, making it ideal for transfer to image editing applications where it may go through multiple edit and save cycles.  Lossless compression guarantees no pixel data will be lost during the compression process.