THotPDF.SetDocumentWillSaveAction Method
Installs a THPDFActionBuilder chain under the catalog /AA /WS before-save entry
Declaration
procedure SetDocumentWillSaveAction(Action: THPDFActionBuilder);
Parameters
| Name | Purpose |
|---|---|
Action | Action chain to run before the document is saved |
Usage notes
Action must not be nilThe method builds a PDF action dictionary and does not keep the builder objectThe matching legacy SetActionScript astWillSave entry is cleared after this method succeedsPDF/A conformance rejects catalog additional actions