THotPDF.SetDocumentCloseAction Method
Installs a THPDFActionBuilder chain under the catalog /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 nilThe method builds a PDF action dictionary and does not keep the builder objectThe matching legacy SetActionScript astClose entry is cleared after this method succeedsPDF/A conformance rejects catalog additional actions