THPDFPage.SetPageAdditionalAction Method
Встановлює дію відкриття чи закриття сторінки з THPDFActionBuilder під словником /AA поточної сторінки
Оголошення
procedure SetPageAdditionalAction(Trigger: THPDFPageActionTrigger; Action: THPDFActionBuilder);
Модуль
HPDFDoc
Параметри
| Назва | Призначення |
|---|---|
Trigger | Page additional-action trigger, either patOpen or patClosepatOpen або patClose |
Action | Action chain built with THPDFActionBuilderTHPDFActionBuilder |
Примітки щодо використання
- The method replaces any existing action for the same page trigger and keeps the other trigger intact
THPDFActionBuilder.ThenActionchains are preserved under the emitted/Nextentry- Builder validation enforces PDF/A and PDF/X restrictions for JavaScript, SubmitForm, Launch, and other restricted action types
Related API
- THPDFPageActionTrigger Type
- THPDFPage.SetPageOpenAction Method
- THPDFPage.SetPageCloseAction Method
- THPDFActionBuilder Class