THotPDF.SetDocumentWillPrintAction Method
在 catalog /AA /WP 打印前条目下安装 THPDFActionBuilder 动作链
声明
procedure SetDocumentWillPrintAction(Action: THPDFActionBuilder);
参数
| 名称 | 用途 |
|---|---|
Action | Action chain to run before the document is printed |
使用说明
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
Related API
- THotPDF.ClearDocumentWillPrintAction Method
- THPDFActionBuilder Class