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
Inserts a file attachment annotation on the current open page.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
PosX | X-Coordinate for the annotation icon | 100 |
PosY | Y-Coordinate for the annotation icon | 100 |
Icon | Which icon to use. Can be Graph, PaperClip, PushPin or Tag. | "Graph" |
Author | Name of author. Can be empty. | "Christian Schmitz" |
Description | Description text. Can be empty. | "Original File" |
FileName | The file name to use. | "test.mp3" |
Compress | If 1, the embedded file is compressed. Pass 0 for no compression. | 0 |
Container | The container with the file content. | Test::MyFile |
Returns annotation handle or error.
See also FileAttachAnnotEx function in DynaPDF manual.
This function checks for a license.
Created 21st December 2017, last changed 21st December 2017