Gets the center of the map display.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Point Center { get; }
Visual Basic (Declaration)
Public ReadOnly Property Center As Point

Field Value

A Point object representing the center of the map display, which takes into account the current DisplayMode.

Remarks

This is a convenience method which returns the center point of the map display and works in both 2D and 3D. In 2D the property returns the center of the Envelope representing the map's extent, so is equivalent to calling the Geometry.GetCenter method for the current Extent. In 3D the property returns the current Target position.

Version Information: This property is supported from version 2.0.0.1500.

See Also