THotPDF.SetDocumentCloseAction Method
Устанавливает THPDFActionBuilder -цепочку в каталоговую запись /AA /WC закрытия документа
Объявление
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