THPDFPage.ClearAnnotationAdditionalAction Method
Method summary: THPDFPage.ClearAnnotationAdditionalAction Method/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 LastAnnotationLastAnnotation |
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 /AA dictionary becomes empty, the dictionary entry is removed from the annotation
/AAdictionary becomes empty, the dictionary entry is removed from the annotation - Use SetAnnotationAdditionalAction to install a replacement THPDFActionBuilder chain for the same trigger
SetAnnotationAdditionalActionto install a replacementTHPDFActionBuilderchain for the same trigger - Use THotPDF form-field action convenience helpers when the target annotation is an AcroForm widget selected by field name
THotPDFform-field action convenience helpers when the target annotation is an AcroForm widget selected by field name
Related API
- THPDFPageSetAnnotationAdditionalActionMethod
- THotPDFFormFieldActionConvenienceMethods
- THPDFActionBuilderClass