Page.createTextAnnot

Creates a new Annotation instance for the page.

class Page
createTextAnnot
(,
string text
,
Encoder encoder = null
)

Parameters

rect Rect

A Rectangle where the annotation is displayed.

text string

The text to be displayed.

encoder Encoder

An Encoder instance which is used to encode the text. If it is null, PDFDocEncoding is used.

Return Value

returns an instance of a Annotation object. If it failed, it returns null.

Meta