[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.TextMap.ITextMapExt.GetFragmentFromQuadrilateral

GetFragmentFromQuadrilateral Method

GetFragmentFromQuadrilateral(ITextMap, Quadrilateral)

Returns the TextMapFragment containing all characters inside the specified quadrilateral, or null if no fragment could be found. A character is included if 50% or more of its area is inside the quadrilateral.

Declaration
public static TextMapFragment GetFragmentFromQuadrilateral(this ITextMap tm, Quadrilateral bounds)
Public Shared Function GetFragmentFromQuadrilateral(tm As ITextMap, bounds As Quadrilateral) As TextMapFragment
Parameters
Type Name Description
ITextMap tm

The current ITextMap.

Quadrilateral bounds

The target bounds.

Returns
Type Description
TextMapFragment

The TextMapFragment containing all characters inside bounds, or null.