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

NamePurpose
PageIndexZero-based generated or loaded page index
TriggerPage trigger to remove from the selected page /AA dictionary

Usage notes

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

Related API