TPDFlibActionInfo
Data Types
Description
TPDFlibActionInfo is a record structure that holds detailed properties of a PDF action, typically retrieved from bookmarks or annotations.
Syntax
Delphi
type TPDFlibActionInfo = record
Kind: TPDFlibActionKind;
URI: AnsiString;
JavaScript: WideString;
FileName: AnsiString;
OpenInNewWindow: Boolean;
NamedName: AnsiString;
FieldCount: Integer;
HideAnnotations: Boolean;
end;Fields
| Kind | The action category specified by TPDFlibActionKind. |
|---|---|
| URI | The target URL for web links (associated with akURI). |
| JavaScript | The JavaScript source code block (associated with akJavaScript). |
| FileName | The path of the file or target document (associated with akGoToR, akLaunch, akSubmitForm, or akImportData). |
| OpenInNewWindow | Specifies whether the destination document opens in a new reader window (associated with akGoToR or akLaunch). |
| NamedName | The name of the action command, e.g. NextPage, PrevPage, FirstPage, or LastPage (associated with akNamed). |
| FieldCount | The number of form fields targeted by the action (associated with akHide, akSubmitForm, or akResetForm). |
| HideAnnotations | Specifies the action visibility toggle behaviour: True to hide the targeted annotations/fields, False to show them (associated with akHide) |