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

KindThe action category specified by TPDFlibActionKind.
URIThe target URL for web links (associated with akURI).
JavaScriptThe JavaScript source code block (associated with akJavaScript).
FileNameThe path of the file or target document (associated with akGoToR, akLaunch, akSubmitForm, or akImportData).
OpenInNewWindowSpecifies whether the destination document opens in a new reader window (associated with akGoToR or akLaunch).
NamedNameThe name of the action command, e.g. NextPage, PrevPage, FirstPage, or LastPage (associated with akNamed).
FieldCountThe number of form fields targeted by the action (associated with akHide, akSubmitForm, or akResetForm).
HideAnnotationsSpecifies the action visibility toggle behaviour: True to hide the targeted annotations/fields, False to show them (associated with akHide)

See also

TPDFlibActionKind, GetOutlineActionInfo, GetAnnotActionInfo