Adds the new highlight annotation to the PdfPage.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfHighlightAnnotation AddHighlightAnnotation(
	string contents,
	PdfRectangle bounds,
	PdfColor color
)
VB
Public Function AddHighlightAnnotation ( 
	contents As String,
	bounds As PdfRectangle,
	color As PdfColor
) As PdfHighlightAnnotation

Parameters

contents
Type: System.String
The contents of the annotation.
bounds
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure that specifies the location and the size of the highlighted area.
color
Type: BitMiracle.Docotic.Pdf.PdfColor
Color of the highlighted area.

Return Value

Type: PdfHighlightAnnotation
The newly created PdfHighlightAnnotation object.

See Also