ESRI.ArcGIS.ADF.Web.UI.WebControls
PreferredTileHeight Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > Map Class : PreferredTileHeight Property


The preferred tile height to request if the resources are not bound to a tile caching scheme.

Syntax

Visual Basic (Declaration)  
Public Property PreferredTileHeight As Integer
Visual Basic (Usage) Copy Code
Dim instance As Map
Dim value As Integer
 
instance.PreferredTileHeight = value
 
value = instance.PreferredTileHeight
C#  
public int PreferredTileHeight {get; set;}

Remarks

If set, this property determines the size of map image tiles requested from the map server(s). If left at the default of 0, the tile size will equal the current Map control size.

Using a cached map service may override preferred tile size

The PreferredTileWidth and PreferredTileHeight properties are ignored if the Map's MapResourceManager contains an ArcGIS Server service that uses a tiled cache, and the Map.PrimaryMapResource property is either not set, or is set to the cached map service. In these cases, the Map will use the tile size of the cached map service. In order to override the cached tile size, you would have to set PrimaryMapResource to a service that does not have a tile cache.

Requirements

Target Platforms:Windows XP Professional, Windows Server 2003 family

See Also