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


IScreenCacheManager Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Display)  

IScreenCacheManager Interface

Provides access to a ScreenDisplay's caches.

Product Availability

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

Members

Description
Read/write property ActiveCache Screen cache where drawing occurs. Use rarely. Change cache inside StartDrawing/FinishDrawing sequence.
Method AddCache 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.
Read-only property CacheCount Number of screen caches.
Read-only property CacheMemDC Memory device context for the specified screen cache.
Method DrawCache Draws the specified screen cache to the specified window device context. Pass an empty rectangle to copy the full bitmap to the DC origin.
Method GetCacheFlags Get special properties of specified cache.
Method GetCacheOrder Sets or returns the order of the specified cache. Client's that use multiple caches can assign an order to them. Bottom cache is 0 and top cache is n.
Method IsCacheDirty Indicates if the specified cache needs refreshing.
Read/write property IsFirstCacheTransparent Indicates if the bottom cache is transparent.
Method ModifyCacheFlags Set special properties of specified cache.
Method PutCacheOrder Sets or returns the order of the specified cache. Client's that use multiple caches may assign an order to them. Bottom cache is 0 and top cache is n.
Method RemoveAllCaches Removes all caches.
Method RemoveCache Removes the specified cache.
Method StartRecording Starts recording all output to the recording cache.
Method StopRecording Stops recording to the recording cache.

CoClasses that implement IScreenCacheManager

CoClasses and Classes Description
ScreenDisplay Display class for drawing to window.