THotPDF.SetDocumentWillPrintAction Method
Method summary: THotPDF.SetDocumentWillPrintAction MethodTHPDFActionBuilder chain under the catalogue /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 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 astWillPrint entry is cleared after this method succeeds
The matching legacy SetActionScript astWillPrint entry is cleared after this method succeeds - PDF/A conformance rejects catalog additional actions
PDF/A conformance rejects catalog additional actions
Related API
- THotPDF.ClearDocumentWillPrintAction Method
- THPDFActionBuilder Class