Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.FileAttachAnnotEx

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
MBS( "DynaPDF.FileAttachAnnotEx"; PDF; PosX; PosY; Icon; Author; Description; FileName; Compress; Container )   More

Parameters

Parameter Description Example
PDF The PDF reference returned from DynaPDF.New. $pdf
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

Result

Returns annotation handle or error.

Description

Inserts a file attachment annotation on the current open page.
Same as DynaPDF.FileAttachAnnot, but with data from container instead of file path.

See also FileAttachAnnotEx function in DynaPDF manual.

See also

Release notes

Blog Entries

This function checks for a license.

Created 21st December 2017, last changed 21st December 2017


DynaPDF.FileAttachAnnot - DynaPDF.FileLink