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.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
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.
Created 21st December 2017, last changed 21st December 2017
DynaPDF.FileAttachAnnot - DynaPDF.FileLink
Feedback: Report problem or ask question.