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


IExport.StartExporting Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Output)  

IExport.StartExporting Method

Initializes the Exporter.

[Visual Basic .NET]
Public Function StartExporting ( _
) As Integer
[C#]
public int StartExporting (
);
[C++]
HRESULT StartExporting(
void
);

Product Availability

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

Remarks

The StartExporting method causes the export object to allocate memory for the export based on resolution, bit depth, and pixel bounds.  The method returns a long that represents the hDC (Windows GDI Device Context handle) of the export object.  After this method is called, the export object is ready to receive GDI draw instructions directed to its hDC.

See Also

IExport Interface

.NET Snippets

Create JPEG from ActiveView