MapHitInfo.MapRectangle Property

Gets a MapRectangle which is located under the test point.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.1.dll

Declaration

public MapRectangle MapRectangle { get; }
Public ReadOnly Property MapRectangle As MapRectangle

Property Value

Type Description
MapRectangle

A MapRectangle object that is the rectangle located under the test point.

Remarks

Use the MapRectangle property to access the rectangle located under the test point (if the MapHitInfo.InMapRectangle property returns true).

If MapHitInfo.InMapRectangle is false, the MapRectangle property returns null (Nothing in Visual Basic).

See Also