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


IOutputContext.hDC Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

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