TextMatch Object : BoundingQuadrilaterals Property |
Gets a collection of bounding quadrilateral of the matched text string (in PDF user space coordinates measured from the bottom left corner).
Visual Basic |
---|
Public Property BoundingQuadrilaterals As QuadrilateralCollection |
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 ReturnCompleteWords can affect the value this property even when identical offsets are used. When ReturnCompleteWords is false the quads of this property will reflect the characters within the specified character-index range. When 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.