• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TextMarkupAnnotation

A text-markup annotation (PDF spec §12.5.10). Highlights, underlines, squiggly-underlines, or strikes through text on the page. The affected regions are specified as a list of Quad values stored in the /QuadPoints entry.

Inheritance
object
Annotation
MarkupAnnotation
TextMarkupAnnotation
Inherited Members
MarkupAnnotation.Title
MarkupAnnotation.Subject
MarkupAnnotation.RichText
MarkupAnnotation.CreationDate
MarkupAnnotation.ReplyType
MarkupAnnotation.Popup
Annotation.Rect
Annotation.Contents
Annotation.Name
Annotation.Modified
Annotation.Flags
Annotation.Color
Annotation.Border
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Pdf.Annotations
Assembly: DRIT.Pdf.dll
Syntax
public sealed class TextMarkupAnnotation : MarkupAnnotation

Properties

MarkupType

The type of text markup (highlight, underline, squiggly, strike-out).

Declaration
public TextMarkupType MarkupType { get; set; }
Property Value
Type Description
TextMarkupType

Quads

The quadrilaterals defining the marked-up text regions (/QuadPoints).

Declaration
public IReadOnlyList<Quad> Quads { get; }
Property Value
Type Description
IReadOnlyList<Quad>

Methods

AddQuad(Quad)

Add a quad defining a marked-up text region.

Declaration
public void AddQuad(Quad quad)
Parameters
Type Name Description
Quad quad

AddQuad(double, double, double, double)

Add a quad from an axis-aligned rectangle.

Declaration
public void AddQuad(double left, double bottom, double right, double top)
Parameters
Type Name Description
double left
double bottom
double right
double top
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX