Docotic.Pdf Library Help > BitMiracle.Docotic.Pdf > PdfPage Class > PdfPage Methods > AddTextAnnotation Method > AddTextAnnotation Method (PdfPoint, String, String)
Adds the new text annotation to the PdfPage.

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

Syntax

C#
public PdfTextAnnotation AddTextAnnotation(
	PdfPoint position,
	string title,
	string contents
)
VB
Public Function AddTextAnnotation ( 
	position As PdfPoint,
	title As String,
	contents As String
) As PdfTextAnnotation

Parameters

position
Type: BitMiracle.Docotic.Pdf.PdfPoint
The position of the upper-left corner of the text annotation.
title
Type: System.String
The title for the annotation.
contents
Type: System.String
The contents of the annotation.

Return Value

Type: PdfTextAnnotation
The newly created PdfTextAnnotation object.

See Also