Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Attaches a data from container to the document.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Container | The container value to use. | $xmlContainer | |
FileName | The file name to display in PDF viewer. | "ZUGfERD-invoice.xml" | |
Description | The description for the file. | "invoice.xml" | Optional |
Compress | Pass 1 to compress or 0 to not compress. You should pass 1 for text data like XML or JSON. |
0 | Optional |
Returns OK or error.
See also AttachFileContainer function in DynaPDF manual.
This function checks for a license.
Created 15th December 2015, last changed 17th January 2024