THotPDF.SetDocumentCloseAction Method
Method summary: THotPDF.SetDocumentCloseAction Method
Declaration
procedure SetDocumentCloseAction(Action: THPDFActionBuilder);
Parameters
| Name | Purpose |
|---|---|
Action | Action chain to run before the document closes |
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 astClose entry is cleared after this method succeeds
- PDF/A conformance rejects catalog additional actions
Related API
- THotPDF.ClearDocumentCloseAction Method
- THPDFActionBuilder Class