THotPDF.SetDocumentWillPrintAction Method
Installs a THPDFActionBuilder chain under the catalog /AA /WP before-print entry
Declaration
procedure SetDocumentWillPrintAction(Action: THPDFActionBuilder);
Parameters
| Name | Purpose |
|---|---|
Action | Action chain to run before the document is printed |
Usage notes
Action must not be nilThe method builds a PDF action dictionary and does not keep the builder objectThe matching legacy SetActionScript astWillPrint entry is cleared after this method succeedsPDF/A conformance rejects catalog additional actions