MarkupAnnot is the base class for various PDF markup annotation types used to mark up documents. These annotations typically include text that appears in the annotation or a pop-up window (specified in the Contents entry).
Markup annotations are categorized as:
- Free text annotations: Display text directly on the page.
- Pop-up based annotations: Use a pop-up window for text (e.g., text, line, square, circle, polygon, polyline, highlight, underline, squiggly-underline, strikeout, rubber stamp, caret, ink, and file attachment).
- Sound annotations: Do not have pop-ups but may have associated text.
- TextMarkup: A subset specifically for marking up document text (e.g., highlight, strikeout, jagged, underline).
Note: When separating text into paragraphs within the Contents entry, a CARRIAGE RETURN (0Dh) must be used.