Click or drag to resize

TextCreate Method (SDFDoc, Rect, String)

Creates a new Text annotation, in the specified document.

Namespace:  pdftron.PDF.Annots
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public static Text Create(
	SDFDoc doc,
	Rect pos,
	string contents
)

Parameters

doc
Type: pdftron.SDFSDFDoc
A document to which the annotation is added.
pos
Type: pdftron.PDFRect
A rectangle specifying the annotation's bounds, specified in user space coordinates.
contents
Type: SystemString
The text contents of the Text annotation.

Return Value

Type: Text
A newly created Text annotation.
See Also