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


IOutputContext Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IOutputContext Interface

Provides access to members that allow to manage the geometry transformation from the map context to the ouput device.

Product Availability

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

Members

Description
Method FromMapToOutput Converts map geometry to output geometry.
Read-only property hDC The device context that the display is currently drawing to.
Method Init Initializes the output context.
Read/write property TrackCancel Drawing will react on Cancel of ITrackCancel is not NULL.

CoClasses that implement IOutputContext

CoClasses and Classes Description
OutputContext The context provided to pass from the map context to the output device.

Remarks

 

OutputContext is used to trasform geometries from Map reference frame to Output reference frame. Use IMapContext to convert all geometries from geographic units to map units before passing them to the OutputContext for display/printing.