| Visual Basic (Declaration) | |
|---|---|
Public Property PreferredTileHeight As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int PreferredTileHeight {get; set;} | |
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.
Target Platforms:Windows XP Professional, Windows Server 2003 family