Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Creates a text annotation.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
PosX | X-Coordinate of the annotation | 100 |
PosY | Y-Coordinate of the annotation | 100 |
Width | Width of the window in open state | 100 |
Height | Height of the window in open state | 100 |
Author | The author name. Can be empty. | "Christian Schmitz" |
Text | The text for the annotation. | "Hello World" |
Icon | Which icon to use. Can be Help, Insert, Key, NewParagraph, Note, Paragraph or UserDefined. | "Help" |
Open | Should the annotation appear open or closed? Pass 1 for open or 0 for close. | 1 |
Returns annotation handle or error.
See also TextAnnot function in DynaPDF manual.
Add text annotation:
Set Variable [ $r ; Value: MBS( "DynaPDF.TextAnnot"; $pdf; 50; 50; 300; 200; "Christian Schmitz"; "Hello World"; "Help"; 1) ]
This function checks for a license.
Created 28th November 2014, last changed 13th February 2018