THotPDF.SetDocumentCloseAction Method
在 catalog /AA /WC 文档关闭条目下安装 THPDFActionBuilder 动作链
声明
procedure SetDocumentCloseAction(Action: THPDFActionBuilder);
参数
| 名称 | 用途 |
|---|---|
Action | Action chain to run before the document closes |
使用说明
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
Related API
- THotPDF.ClearDocumentCloseAction Method
- THPDFActionBuilder Class