Method GetTextBounds
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
GetTextBounds()
Gets a collection of quadrilaterals that encompass a word or group of contiguous words in the text underlying the annotation.
public PdfQuadrilateral[] GetTextBounds()
Returns
- PdfQuadrilateral[]
Collection of quadrilaterals that encompass a word or group of contiguous words in the text underlying the annotation.
Remarks
The text is oriented with respect to the edge connecting FirstCorner and SecondCorner points.
Exceptions
- UnexpectedStructureException
The internal PDF structure does not contain the corresponding required value, or the value has an unexpected type. Or the value can not be converted to an array of PdfQuadrilateral values.