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
stringThe contents of the annotation.
bounds
PdfRectangleThe PdfRectangle structure that specifies the location and the size of the highlighted area.
color
PdfColorColor of the highlighted area.
Returns
- PdfHighlightAnnotation
The newly created PdfHighlightAnnotation object.