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) 
<DefaultValueAttribute()>
<PersistenceModeAttribute()>
<ResDescriptionAttribute("The preferred tile height in pixels to request if the resources are not bound to a tile caching scheme. When 0, the tile height will equal the Map control height.")>
<ResCategoryAttribute("Image Output")>
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# 
[DefaultValueAttribute()]
[PersistenceModeAttribute()]
[ResDescriptionAttribute("The preferred tile height in pixels to request if the resources are not bound to a tile caching scheme. When 0, the tile height will equal the Map control height.")]
[ResCategoryAttribute("Image Output")]
public int PreferredTileHeight {get; set;}

Remarks

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

Using a cached map service may override preferred tile height

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 height of the cached map service. In order to override the cached tile height, you would have to set PrimaryMapResource to a service that does not have a tile cache.

See Also

© 2010 All Rights Reserved.