THPDFPage.SetAnnotationAdditionalAction Method
THPDFActionBuilder under the annotation /AAResumen del método: THPDFPage.SetAnnotationAdditionalAction Method
Declaración
procedure SetAnnotationAdditionalAction(Annot: THPDFDictionaryObject; Trigger: THPDFAnnotationActionTrigger; Action: THPDFActionBuilder);
Unidad
HPDFDoc
Parámetros
| Nombre | Propósito |
|---|---|
Annot | Annotation dictionary returned by the most recent annotation creation call or another annotation lookup |
Trigger | Additional-action trigger, such as mouse enter, mouse exit, mouse down, mouse up, set focus, or lost focus |
Action | THPDFActionBuilderAction chain built with THPDFActionBuilder |
Notas de uso
- The method replaces any existing action for the same trigger key and keeps other
/AAentries unchanged - Use
ClearAnnotationAdditionalActionto remove one annotation additional-action entry without rebuilding the annotation dictionary THPDFActionBuilder.ThenActionchains are preserved under the emitted/Nextentry- Mouse and focus triggers use
/E,/X,/D,/U,/Fo, and/Bl - Page-open, page-close, page-visible, and page-invisible triggers use
/PO,/PC,/PV, and/PIand require PDF 1.5 - Use ClearAnnotationAdditionalAction to remove one annotation additional-action entry without rebuilding the annotation dictionary
- Use
SetAnnotationJavaScriptActionfor the JavaScript-only convenience path
Related API
- THPDFActionBuilderClass
- THPDFPageSetAnnotationActionMethod
- THPDFPageClearAnnotationAdditionalActionMethod
- THPDFPageSetAnnotationJavaScriptActionMethod