[]
TextMarkupAnnotation appear as highlights, underlines, strikeouts, or jagged (“squiggly”) underlines in the text of a document.
public class TextMarkupAnnotation : MarkupAnnotation, IOwnedObject, IContentItem, IPdfDict
Initializes a new instance of the TextMarkupAnnotation class.
public TextMarkupAnnotation()
Initializes a new instance of the TextMarkupAnnotation class.
public TextMarkupAnnotation(TextMarkupType markupType)
markupType
TextMarkupTypeThe annotation type.
Gets or sets the list of Quadrilateral structures defining the markup area. The coordinates of the quadrilaterals' points are relative to the upper left corner of the page's media box, with the Y (vertical) coordinates increasing from top to bottom.
Note that if the annotation is associated with more than one page, the media box of the first of those pages is used to calculate the coordinates.
public IReadOnlyList<Quadrilateral> Area { get; set; }
Gets or sets the markup type.
public TextMarkupType MarkupType { get; set; }
Gets or sets the list of Quadrilateral structures defining the markup area. The coordinates of the quadrilaterals' points are in PDF user space coordinates. The positive X axis extends horizontally to the right, and the positive Y axis extends vertically upward, with the origin usually in the lower left corner of the page.
public IReadOnlyList<Quadrilateral> PdfArea { get; set; }