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


IScreenDisplay2.AddCache Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Display)  

IScreenDisplay2.AddCache Method

Creates a new cache and return its ID. The ID can be specified to StartDrawing to direct output to the cache. It can also be used with a number of other methods such as DrawCache and Invalidate.

[Visual Basic .NET]
Public Function AddCache ( _
) As Short
[C#]
public short AddCache (
);
[C++]
HRESULT AddCache(
  short* cacheID
);
[C++]

Parameters cacheID [out, retval] cacheID is a parameter of type short

Product Availability

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

See Also

IScreenDisplay2 Interface