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(
  long* hDC
);
[C++]

Parameters

hDC [out, retval]   hDC is a parameter of type long

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 |