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


IOutputContext.hDC Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IO > IOutputContext Interface > IOutputContext.hDC Property
ArcGIS Developer Help

IOutputContext.hDC Property

The device context that the display is currently drawing to.

[Visual Basic .NET]
Public ReadOnly Property hDC As Integer
[C#]
public int hDC {get;}
[C++]
HRESULT get_hDC(
  OLE_HANDLE* hDC
);
[C++]
Parameters
hDC [out, retval]

hDC is a parameter of type OLE_HANDLE*

Product Availability

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

Remarks

Initialize OutputContext before accessing this property.

See Also

IOutputContext Interface