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