Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Saves and signs the current PDF.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
CertFilePath | File path to a PKCS#12 certificate file. | "C:\test.pfx" | |
Password | Password to decrypt the cert's private key. | $password | Optional |
Reason | Reason string. | $reason | Optional |
Location | Signers location string | $location | Optional |
FileName | The file name to be associated with the container value. The file name should include pdf file extension. |
"hello.pdf" | Optional |
Preview | Whether to include a preview JPEG. Default is 1 for including one. Pass zero to disable preview. |
1 | Optional |
Returns PDF container, OK or error.
See also SaveAndSignFile function in DynaPDF manual.
Save PDF:
Set Field [ MyTable::ContainerField; MBS( "DynaPDF.SaveAndSignFile"; $PDF; "/Users/cs/Desktop/test.pfx"; $password; "Test"; ""; "report.pdf" ) ]
This function checks for a license.
Created 18th August 2014, last changed 18th January 2023