ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDEText Class / IsAtRect Method / IsAtRect(ImGearPDETextFlags,Int32,ImGearPDFFixedRect) Method
ImGearPDETextFlags value that specifies whether index refers to the character offset from the beginning of the text object or the index of the text run in the text object. Must be either CHAR for a text character or RUN for a text run.
Index of the character or text run in the text object.
A rectangle, specified in user space coordinates.




In This Topic
    IsAtRect(ImGearPDETextFlags,Int32,ImGearPDFFixedRect) Method
    In This Topic
    Tests whether any part of a rectangle is on the specified text.
    Syntax
    'Declaration
     
    Public Overloads Function IsAtRect( _
       ByVal options As ImGearPDETextFlags, _
       ByVal index As Integer, _
       ByVal rect As ImGearPDFFixedRect _
    ) As Boolean
    'Usage
     
    Dim instance As ImGearPDEText
    Dim options As ImGearPDETextFlags
    Dim index As Integer
    Dim rect As ImGearPDFFixedRect
    Dim value As Boolean
     
    value = instance.IsAtRect(options, index, rect)
    public bool IsAtRect( 
       ImGearPDETextFlags options,
       int index,
       ImGearPDFFixedRect rect
    )
    public: bool IsAtRect( 
       ImGearPDETextFlags options,
       int index,
       ImGearPDFFixedRect* rect
    ) 
    public:
    bool IsAtRect( 
       ImGearPDETextFlags options,
       int index,
       ImGearPDFFixedRect^ rect
    ) 

    Parameters

    options
    ImGearPDETextFlags value that specifies whether index refers to the character offset from the beginning of the text object or the index of the text run in the text object. Must be either CHAR for a text character or RUN for a text run.
    index
    Index of the character or text run in the text object.
    rect
    A rectangle, specified in user space coordinates.

    Return Value

    True if the text is on the rectangle, False otherwise.
    See Also