ArcObjects Library Reference (Output)  

IExport Interface

Provides access to members that control the Export.

Product Availability

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

Members

Description
Method Cleanup Cleanup should clean all temporary files, free used memory, etc...
Read/write property ExportFileName The Export File Name.
Read-only property Filter Filter String used in the CFileDialog class.
Method FinishExporting Shuts down the Exporter.
Read-only property Name The Name of the Exporter.
Read/write property PixelBounds The Export Bounds in Pixels (The Pixel Bounds of the Export surface).
Read-only property Priority Exporter's priority - the order of appearance in the user interface.
Read/write property Resolution The Export Resolution.
Method StartExporting Initializes the Exporter.
Write-only property StepProgressor Export will update a Progress Bar if StepProgressor is not NULL.
Write-only property TrackCancel Export will react on Cancel if TrackCancel is not NULL.

CoClasses that implement IExport

CoClasses and Classes Description
ExportAI Class used to export maps to AI (Adobe Illustrator) format.
ExportBMP Class used to export maps to BMP (Windows Bitmap) format.
ExportEMF Class used to export maps to EMF (Windows Enhanced Metafile) format.
ExportGIF Class used to export maps to GIF (Graphics Interchange Format).
ExportJPEG Class used to export maps to JPEG (Joint Photographic Experts Group) format.
ExportPDF Class used to export maps to PDF (Portable Document Format) format.
ExportPNG Class used to export maps to PNG (Portable Network Graphics) format.
ExportPS Class used to export maps to PS (PostScript) and EPS (Encapsulated PostScript) format.
ExportSVG Class used to export maps to SVG (Scalable Vector Graphics) format.
ExportTIFF Class used to export maps to TIFF (Tagged Image File Format).

Remarks

This interface contains the essential properties and methods for controlling an export object.

At ArcGIS 9, this interface is the replacement for the IExporter and IArcPressExporter interfaces.

IExport should be used in conjuction with one of the ten export CoClasses:  ExportAI, ExportBMP, ExportEMF, ExportGIF, ExportJPEG, ExportPDF, ExportPNG, ExportPS, ExportSVG, and ExportTIFF.

The Export Active View sample demonstrates the basic use of this interface. 

Exporting a map to a graphics export file involves a few basic steps:

  1. Create an export object.
  2. Define the resolution of your source display and of the destination file.
  3. Prepare a number of extent rectangles (Envelopes and a RECT structure) to define the target area on the print device and the map extent to be printed.
  4. Generate draw instructions and direct them to the export object.  The export object will sense the incoming draw instructions and begin the process of bulding the graphic export file in the desired format.

.NET Snippets

Create JPEG (hi-resolution) from ActiveView | Create JPEG from ActiveView |

.NET Samples

Export active view (Code Files: ExportActiveViewVB_Net) |

.NET Related Topics

How to initialize a world file with rotation |