Document Solutions for PDF
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 fragment'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 fragment As TextMapFragment, _
       ByRef text As System.String _
    ) 
    void GetFragment( 
       MapPos startPos,
       MapPos endPos,
       out TextMapFragment fragment,
       out System.string text
    )

    Parameters

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