Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.TextMap Namespace / ITextMapExt Class / GetFragmentFromQuadrilateral Method
The current ITextMap.
The target bounds.

In This Topic
    GetFragmentFromQuadrilateral Method
    In This Topic
    Returns the TextMapFragment containing all characters inside the specified quadrilateral, or a null reference (Nothing in Visual Basic) if no fragment could be found. A character is included if 50% or more of its area is inside the quadrilateral.
    Syntax
    'Declaration
     
    Public Shared Function GetFragmentFromQuadrilateral( _
       ByVal tm As ITextMap, _
       ByVal bounds As Quadrilateral _
    ) As TextMapFragment
    public static TextMapFragment GetFragmentFromQuadrilateral( 
       ITextMap tm,
       Quadrilateral bounds
    )

    Parameters

    tm
    The current ITextMap.
    bounds
    The target bounds.

    Return Value

    The TextMapFragment containing all characters inside bounds, or a null reference (Nothing in Visual Basic).
    See Also