Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.TextMap Namespace / ITextMap Interface / GetFragment Method / GetFragment(MapPos,MapPos,TextMapFragment,String) Method
The MapPos specifying the start of the range.
The MapPos specifying the end of the range.
OUT: a TextMapFragment representing the text in the range.
OUT: the range's text.

In This Topic
    GetFragment(MapPos,MapPos,TextMapFragment,String) Method
    In This Topic
    Gets a TextMapFragment that represents the text within a specified range (from startPos to endPos).
    Syntax
    'Declaration
     
    Overloads Sub GetFragment( _
       ByVal startPos As MapPos, _
       ByVal endPos As MapPos, _
       ByRef range As TextMapFragment, _
       ByRef text As System.String _
    ) 
    void GetFragment( 
       MapPos startPos,
       MapPos endPos,
       out TextMapFragment range,
       out System.string text
    )

    Parameters

    startPos
    The MapPos specifying the start of the range.
    endPos
    The MapPos specifying the end of the range.
    range
    OUT: a TextMapFragment representing the text in the range.
    text
    OUT: the range's text.
    See Also