THotPDF.SetDocumentWillSaveAction Method
Method summary: THotPDF.SetDocumentWillSaveAction MethodTHPDFActionBuilder chain under the catalogue /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 nil
Action must not be nil - The method builds a PDF action dictionary and does not keep the builder object
The method builds a PDF action dictionary and does not keep the builder object - The matching legacy SetActionScript astWillSave entry is cleared after this method succeeds
The matching legacy SetActionScript astWillSave entry is cleared after this method succeeds - PDF/A conformance rejects catalog additional actions
PDF/A conformance rejects catalog additional actions
Related API
- THotPDF.ClearDocumentWillSaveAction Method
- THPDFActionBuilder Class