Adds the new underline annotation to the PdfPage.

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

Syntax

C#
public PdfUnderlineAnnotation AddUnderlineAnnotation(
	string contents,
	PdfRectangle bounds,
	PdfColor lineColor
)
VB
Public Function AddUnderlineAnnotation ( 
	contents As String,
	bounds As PdfRectangle,
	lineColor As PdfColor
) As PdfUnderlineAnnotation

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 underlined area.
lineColor
Type: BitMiracle.Docotic.Pdf.PdfColor
Color of the annotation's line.

Return Value

Type: PdfUnderlineAnnotation
The newly created PdfUnderlineAnnotation object.

See Also