Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.TextMap Namespace / ITextMap Interface / GetWord Method
A MapPos specifying a position in the ITextMap.
OUT: the start index of the word in the line.
OUT: the length of the word in characters.
OUT: the geometric bounds of the word.

In This Topic
    GetWord Method
    In This Topic
    Gets the info about a word at a specified position in a line.
    Syntax
    'Declaration
     
    Sub GetWord( _
       ByVal pos As MapPos, _
       ByRef start As System.Integer, _
       ByRef length As System.Integer, _
       ByRef bounds As Quadrilateral _
    ) 
    void GetWord( 
       MapPos pos,
       out System.int start,
       out System.int length,
       out Quadrilateral bounds
    )

    Parameters

    pos
    A MapPos specifying a position in the ITextMap.
    start
    OUT: the start index of the word in the line.
    length
    OUT: the length of the word in characters.
    bounds
    OUT: the geometric bounds of the word.
    See Also