ArcObjects Library Reference (PublisherControls)  

IARLayer.Cached Property

Indicates if the layer has its own display cache.

[Visual Basic .NET]
Public ReadOnly Property Cached As Boolean
[C#]
public bool Cached {get;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The Cached property specifies whether the layer has its own cache for display purposes.

Remarks

A cache is an off screen bitmap representing an application's window. Instead of drawing directly onto the screen, graphics are drawn into caches which are then drawn onto the screen. When an application's window becomes obscured and requires redrawing, it done so from a cache rather than a database. This improves drawing performance as bitmap rendering is faster than reading and displaying data from a database.

In general an ARMap creates a single cache for all of its layers. Setting the Cached property to true creates a private cache for the layer. In this case, the ARMap will create separate caches for any layers above and below the layer.

See Also

IARLayer Interface