THPDFPage.ClearAnnotationAdditionalAction Method
Removes one annotation additional-action entry from an annotation /AA dictionary
Declaration
procedure ClearAnnotationAdditionalAction(Annot: THPDFDictionaryObject; Trigger: THPDFAnnotationActionTrigger);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Annot | Annotation dictionary returned by an annotation creation call or held in LastAnnotation |
Trigger | Annotation additional-action trigger to remove |
Usage notes
- The method removes only the selected trigger entry and keeps other annotation actions unchanged
- If the annotation
/AAdictionary becomes empty, the dictionary entry is removed from the annotation - Use
SetAnnotationAdditionalActionto install a replacementTHPDFActionBuilderchain for the same trigger - Use
THotPDFform-field action convenience helpers when the target annotation is an AcroForm widget selected by field name