Accusoft.PdfXpressSdk Namespace > TextMatch Class : BoundingQuadrilaterals Property |
'Declaration Public ReadOnly Property BoundingQuadrilaterals As QuadrilateralCollection
'Usage Dim instance As TextMatch Dim value As QuadrilateralCollection value = instance.BoundingQuadrilaterals
public QuadrilateralCollection BoundingQuadrilaterals {get;}
public: __property QuadrilateralCollection* get_BoundingQuadrilaterals();
public: property QuadrilateralCollection^ BoundingQuadrilaterals { QuadrilateralCollection^ get(); }
This property contains the location of the string returned by the MatchedText property. The points of each Quadrilateral are specified in PDF user space coordinates. The user space coordinate at the bottom left corner of the PDF is at (0.0, 0.0).
A single TextMatch will have at least one bounding quadrilateral. Multiple bounding quadrilaterals are possible when the TextMatch:
The TextMatchOptions.ReturnCompleteWords can affect the value this property even when identical offsets are used. When TextMatchOptions.ReturnCompleteWords is false the quads of this property will reflect the characters within the specified character-index range. When TextMatchOptions.ReturnCompleteWords is true the quads of this property will represent complete words, possibly overlapping the specified character-index range.
The Quadrilateral's height is the height of the font's bounding box, not the height of the tallest character used in the text match. The font's bounding box is determined by the glyphs in the font that extend farthest above and below the baseline; it often extends somewhat above the top of 'A' and below the bottom of 'y.' The quad's width is determined from the characters actually present in the text.