Back to Devexpress

MapHitInfo.InMapPolygon Property

windowsforms-devexpress-dot-xtramap-dot-maphitinfo-a006a3c1.md

latest1.3 KB
Original Source

MapHitInfo.InMapPolygon Property

Gets a value indicating whether the test point is within a MapPolygon.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public bool InMapPolygon { get; }
vb
Public ReadOnly Property InMapPolygon As Boolean

Property Value

TypeDescription
Boolean

true if the test point is within a polygon; otherwise, false.

|

Remarks

Use the InMapPolygon property, to check whether the test point is located within a polygon.

To obtain a particular element located under the test point, use the MapControl.CalcHitInfo method.

See Also

MapHitInfo Class

MapHitInfo Members

DevExpress.XtraMap Namespace