THPDFAcroFormField.SetAnnotationAction Method
Assigns a widget annotation action for the selected mouse or focus trigger and returns Self
Declaration
function SetAnnotationAction(Trigger: THPDFAnnotationActionTrigger; Action: THPDFActionBuilder): THPDFAcroFormField;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Trigger | Field or widget trigger that selects the /AA dictionary entry |
Action | Action builder whose action dictionary is assigned to the field or widget |
Return value
Returns a THPDFAcroFormField value
Usage notes
- The action is written to the widget annotation /AA dictionary