ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDEElement Class / IsAtPoint Method
A point, specified in user space coordinates.




In This Topic
    IsAtPoint Method (ImGearPDEElement)
    In This Topic
    Tests whether a point is on an element.
    Syntax
    'Declaration
     
    Public Function IsAtPoint( _
       ByVal point As ImGearPDFFixedPoint _
    ) As Boolean
    'Usage
     
    Dim instance As ImGearPDEElement
    Dim point As ImGearPDFFixedPoint
    Dim value As Boolean
     
    value = instance.IsAtPoint(point)
    public bool IsAtPoint( 
       ImGearPDFFixedPoint point
    )
    public: bool IsAtPoint( 
       ImGearPDFFixedPoint* point
    ) 
    public:
    bool IsAtPoint( 
       ImGearPDFFixedPoint^ point
    ) 

    Parameters

    point
    A point, specified in user space coordinates.

    Return Value

    True if a point is on an element, False otherwise.
    Remarks

    If the current element is a Text or Image, it uses the bounding box of the element to make the check. If the current element is a Path and it is stroked, it checks if the point is on the path. If the current element is a Path and it is filled, it checks if the point is in the fill area, taking into consideration whether it is filled using the non-zero winding number rule or the even-odd rule.

    See Also