[]
Returns the TextMapFragment containing all characters inside the specified rectangle, or null if no fragment could be found. A character is included if 50% or more of its area is inside the quadrilateral.
public static TextMapFragment GetFragmentFromRect(this ITextMap tm, RectangleF bounds)
Public Shared Function GetFragmentFromRect(tm As ITextMap, bounds As RectangleF) As TextMapFragment
Type | Name | Description |
---|---|---|
ITextMap | tm | The current ITextMap. |
RectangleF | bounds | The target bounds. |
Type | Description |
---|---|
TextMapFragment | The TextMapFragment containing all characters inside |