Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.TextMap Namespace / ITextMap Interface / HitTest Method
The X pixel location relative to the top left corner of the page.
The Y pixel location relative to the top left corner of the page.

In This Topic
    HitTest Method
    In This Topic
    Performs hit testing on the map.

    This method accepts a pixel location relative to the top left corner of the page, and provides info about the text in that location.

    Syntax
    'Declaration
     
    Function HitTest( _
       ByVal x As System.Single, _
       ByVal y As System.Single _
    ) As HitTestInfo
    HitTestInfo HitTest( 
       System.float x,
       System.float y
    )

    Parameters

    x
    The X pixel location relative to the top left corner of the page.
    y
    The Y pixel location relative to the top left corner of the page.

    Return Value

    HitTestInfo containing the hit test result.
    See Also