Skip to main content

MapHitInfo.MapRectangle Property

Gets a MapRectangle which is located under the test point.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

public MapRectangle MapRectangle { get; }

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