THotPDF.ClearPageAdditionalAction Method
Removes one page additional-action trigger from a generated or loaded page selected by zero-based page index
Declaration
procedure ClearPageAdditionalAction(PageIndex: Integer; Trigger: THPDFPageActionTrigger);
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based generated or loaded page index |
Trigger | Page trigger to remove from the selected page /AA dictionary |
Usage notes
- This method does not change
CurrentPageNumberor the active drawing page - If the last trigger is removed, HotPDF removes the empty page
/AAdictionary
Loaded-page preservation
For a loaded page, setting or clearing one trigger preserves the other events and their existing /Next chains when the document is saved and reloaded
If pages share an indirect /AA dictionary, the edit creates a private action dictionary for the selected page so the other pages keep their original events
Loaded-page edits retain the existing graph-transaction rollback and commit behavior; generated-page helpers and the public method declaration are unchanged