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


IScreenDisplay2.AddCache Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IScreenDisplay2 Interface > IScreenDisplay2.AddCache Method
ArcGIS Developer Help

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(
void
);

Product Availability

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

See Also

IScreenDisplay2 Interface