Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
The function opens the output file into which the PDF file should be written.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 6.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Path | The file path to create the PDF. The file name should include pdf file extension. |
"C:\Test.pdf" | |
OpenPwd | Open password. | "" | |
OwnerPwd | Owner password. | "Hello" | |
Encryption | Which encryption to use. Can be 40bit, 128bit, 128bitEx, AES128, AES256 or AESRev6. | "AES256" | |
RestrictFlags | What restrictions to apply. See above. | 4+8 | Optional |
Returns OK or error.
See also OpenOutputFileEncrypted function in DynaPDF manual.
This function checks for a license.
Created 16th July 2016, last changed 25th July 2023