This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenCacheManager Interface > IScreenCacheManager.AddCache Method (ArcObjects .NET 10.4 SDK) |
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