Export active view


PurposeThis document illustrates the steps necessary to export the active view to any supported export format, including setting output quality, clipping to graphics extent, and disabling and reenabling Microsoft font-smoothing or ClearType.

Development licensing Deployment licensing
ArcInfo ArcInfo
ArcView ArcEditor
ArcEditor ArcView
Engine Developer Kit Engine Runtime

How to use

See Using the samples for help on compiling, setting up the debugger, and running the sample (either an exe or dll).

  1. Extract the folders and open the appropriate solution in Visual Studio 2005.
  2. Click the Build button to build the .dll file.
  3. Open the applicable ArcMap document.
  4. Choose Customize from the Tools menu.
  5. Click the Commands tab in the Customize dialog box.
  6. Choose the Developer Samples category.
  7. Drag and drop the tool icon into any valid toolbar.
  8. Click the tool button to export the active view.

./ExportActiveViewCS_Net/ExportActiveViewCS_Net.cs The Csharp source code for ExportActiveView
Download the C# files
./ExportActiveViewVB_Net/ExportActiveViewVB_Net.vb The Visual Basic .NET source code for ExportActiveView
Download the VB.NET files

Download the files for all languages

See Also:

Output library overview