THotPDF.SetDocumentWillSaveAction Method
Method summary: THotPDF.SetDocumentWillSaveAction Method
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
- 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
- PDF/A conformance rejects catalog additional actions
Related API
- THotPDF.ClearDocumentWillSaveAction Method
- THPDFActionBuilder Class