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


IDynamicCacheLayerManager.AlwaysDrawCoarsestLevel Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDynamicCacheLayerManager Interface > IDynamicCacheLayerManager.AlwaysDrawCoarsestLevel Property
ArcGIS Developer Help

IDynamicCacheLayerManager.AlwaysDrawCoarsestLevel Property

Indicates whether to use the default coarse texture while the requested tile is being processed.

[Visual Basic .NET]
Public Property AlwaysDrawCoarsestLevel As Boolean
[C#]
public bool AlwaysDrawCoarsestLevel {get; set;}
[C++]
HRESULT get_AlwaysDrawCoarsestLevel(
  Boolean* AlwaysDrawCoarsestLevel
);
[C++]
HRESULT put_AlwaysDrawCoarsestLevel(
  VARIANT_BOOL AlwaysDrawCoarsestLevel
);
[C++]
Parameters
AlwaysDrawCoarsestLevel [out, retval]

AlwaysDrawCoarsestLevel is a parameter of type bool* AlwaysDrawCoarsestLevel [in]
AlwaysDrawCoarsestLevel is a parameter of type bool

Product Availability

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

Remarks

AlwaysDrawCoarsestLevel determines whether to use a coarse texture in case that there is no other data to draw. This might happen when a layer is required to draw tile information which pertains to a certain map scale. In such case, if by the time that the dynamic display is supposed to draw that tile, its texture is not yet ready, the dynamic display will use a default texture instead. As soon as the requested texture for the given tile is ready, it will be used instead of the default texture.

The default texture is calculated according to the layers� area of interest (it covers the entire layer and therefore can be used anywhere there�s a missing information).

By default, this property is set according to the type of the layer. Any layer except point and polyline feature layers (including CAD, SDC and coverage) sets this property to true.

For some types of layer it is difficult to determine the appropriate default value, since it might not contain point or line vector data. For an instance, internet layers such as ArcGIS for Server or ArcIMS can actually serve images of vector data (such as highways, railways, rivers etc.). Since there is no way to figure the type of the information served by these layers beforehand, the default is to set AlwaysDrawCoarsestLevel to true. This can lead to less effective drawing effects. So by changing AlwaysDrawCoarsestLevel to false you can modify the default behavior.

See Also

IDynamicCacheLayerManager Interface

.NET Samples

Dynamic cache layer manager controller