PdfPage.AddInkAnnotation Method

Adds the new ink annotation to the PdfPage.

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

Syntax

C#
public PdfInkAnnotation AddInkAnnotation(
	PdfRectangle bounds,
	PdfColor lineColor
)
VB
Public Function AddInkAnnotation ( 
	bounds As PdfRectangle,
	lineColor As PdfColor
) As PdfInkAnnotation

Parameters

bounds
Type: BitMiracle.Docotic.Pdf.PdfRectangle
The PdfRectangle structure that specifies the location and the size of the ink annotation area.
lineColor
Type: BitMiracle.Docotic.Pdf.PdfColor
Color of the annotation's line.

Return Value

Type: PdfInkAnnotation
The newly created PdfUnderlineAnnotation object.

See Also