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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
DynaPDF.TextAnnot
Creates a text annotation.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| DynaPDF | 5.0 | Yes | Yes | Yes | Yes | Yes |
Parameters
| 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 |
Result
Returns annotation handle or error.
Description
Creates a text annotation.The parameters Width and Height define the size of the annotation's window. The window is shown in the open state of the annotation.
If the parameter Open is true, the annotation appears in its open state when opening the document. If the annotation is closed, the annotation's icon appears on screen.
The parameters Author and Text are optional, they can be empty. DynaPDF does not embed the annotation icon. However, since Acrobat 5 they are available in Adobe's Acrobat or Reader.
See also TextAnnot function in DynaPDF manual.
Examples
Add text annotation:
Set Variable [ $r ; Value: MBS( "DynaPDF.TextAnnot"; $pdf; 50; 50; 300; 200; "Christian Schmitz"; "Hello World"; "Help"; 1) ]
See also
- DynaPDF.FreeTextAnnot
- DynaPDF.LineAnnot
- DynaPDF.New
- DynaPDF.ResetAnnotAP
- DynaPDF.SetAnnotIcon
- DynaPDF.StampAnnot
Created 28th November 2014, last changed 13th February 2018
DynaPDF.Table.SetTableWidth - DynaPDF.TranslateCoords
Feedback: Report problem or ask question.
Links
MBS Xojo tutorial videos