THPDFPage.SetAnnotationJavaScriptAction Method
Sets annotation java script action state for subsequent page drawing output. The setting affects later page drawing, page dictionary entries, conformance metadata, or text emission rather than already-written content
Declaration
procedure SetAnnotationJavaScriptAction(Annot: THPDFDictionaryObject; Trigger: THPDFAnnotationJavaScriptTrigger; const JavaScript: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Annot | Input used by SetAnnotationJavaScriptAction |
Trigger | Input used by SetAnnotationJavaScriptAction |
JavaScript | Input used by SetAnnotationJavaScriptAction |
Return value
This member does not return a value
Usage notes
- Use this API in the page drawing workflow before the affected page, resource, field, or catalog object is finalised
- Keep object names, field names, resource names, and returned handles stable until the document is finalised
- Page-level changes affect subsequent operators on the same page; save and restore graphics state when a temporary setting should not leak