MapControl.Center Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the geographic location where the map is centered.
public:
property Geopoint ^ Center { Geopoint ^ get(); void set(Geopoint ^ value); };
Geopoint Center();
void Center(Geopoint value);
public Geopoint Center { get; set; }
var geopoint = mapControl.center;
mapControl.center = geopoint;
Public Property Center As Geopoint
Property Value
The geographic location where the map is centered. The default is null
.