Table of Contents

Method AddHighlightAnnotation

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

AddHighlightAnnotation(string, PdfRectangle, PdfColor?)

Adds the new highlight annotation to the PdfPage.

public PdfHighlightAnnotation AddHighlightAnnotation(string contents, PdfRectangle bounds, PdfColor? color)

Parameters

contents string

The contents of the annotation.

bounds PdfRectangle

The PdfRectangle structure that specifies the location and the size of the highlighted area.

color PdfColor

Color of the highlighted area.

Returns

PdfHighlightAnnotation

The newly created PdfHighlightAnnotation object.

Remarks

Read the Highlight text for an example of using highlight annotations.