ArcObjects Library Reference  (Display)    

IScreenDisplay.CacheMemDC Property

Memory device context for the specified screen cache.

[Visual Basic 6.0]
Property CacheMemDC(
    ByVal index As Integer _
) As OLE_HANDLE
[Visual Basic .NET]
Public Function get_CacheMemDC ( _
    ByVal index As Short _
) As Integer
[C#]
public int get_CacheMemDC (
    short index
);
[Java]
public OLEHANDLE getCacheMemDC (
    Integer index
)
[C++]
HRESULT get_CacheMemDC(
  short index,
  OLE_HANDLE* hDC
);
[C++]

Parameters

index [in]

  index is a parameter of type short

hDC [out, retval]

  hDC is a parameter of type OLE_HANDLE

Product Availability

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

Remarks

Each cache is an offscreen bitmap. Use this property to retrieve the device context (hDc) for the bitmap associated with a particular cache.  With the hDc you can, for example, draw the bitmap (cache) in a particular window using DrawCache.

See Also

IScreenDisplay Interface

 


Feedback Send feedback on this page