Class used to export maps to EMF (Windows Enhanced Metafile) format.
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 | Description |
|---|---|
| IExport | Provides access to members that control the Export. |
| IExportColorspaceSettings | Provides access to members that control the Destination Colorspace for Export. |
| IExportEMF | Provides access to members that control the EMF (Windows Enhanced Metafile) Export. |
| IExportVector | Provides access to members that control the Vector Export. |
| IExportVectorOptions | Provides access to members that control the Vector Export Options. |
| IOutputRasterSettings (esriDisplay) | Provides access to members that control New Raster Output Settings. |
| ISettingsInRegistry | Provides access to members that control storing/restoring of object settings to/from the registry. |
| ISupportErrorInfo | Indicates whether a specific interface can return Automation error objects. |
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.