| Visual Basic (Declaration) | |
|---|---|
Overrides Public Property InitialExtent As InitialExtent | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public override InitialExtent InitialExtent {get; set;} | |
When the Map first loads in the page, the initial extent depends on this property. Two values are valid: Default and Full. Default (which is the default value) causes the map to display at the extent defined as default by the PrimaryMapResource Property of the Map. Full causes the map to display at the extent that covers all layers in the PrimaryMapResource Property. (If no PrimaryMapResource is set, the Map control uses the first (bottom) resource listed in the MapResourceManager as primary.)
Target Platforms:Windows XP Professional, Windows Server 2003 family