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


IScreenCacheManager.AddCache Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IScreenCacheManager.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

IScreenCacheManager Interface