Map for WinForms | ComponentOne
C1.FlexMap Namespace / IMapDevice Interface / HitTestPlacemark Method
The placemark to be tested.
The point being tested, in pixels.

In This Topic
    HitTestPlacemark Method (IMapDevice)
    In This Topic
    Tests whether a point is hit on the placemark.
    Syntax
    'Declaration
     
    
    Function HitTestPlacemark( _
       ByVal placemark As VectorPlacemark, _
       ByVal point As C1.Win.Interop.Point _
    ) As Boolean
    bool HitTestPlacemark( 
       VectorPlacemark placemark,
       C1.Win.Interop.Point point
    )

    Parameters

    placemark
    The placemark to be tested.
    point
    The point being tested, in pixels.

    Return Value

    True if the point is hitted on the placemark; otherwise, false.
    See Also