property OnFormUriAction: TPdfFormUriActionEvent read FOnFormUriAction write FOnFormUriAction;
OnFormUriAction fires when the interactive form layer raises a URI action, for example from a form button or a script navigation. The handler receives the decoded Uri as WString, the raw bytes as RawUri, keyboard Modifiers, and a var Handled flag
Set Handled = True to navigate with host policy and suppress default processing
procedure(Sender: TObject; const Uri: WString; const RawUri: AnsiString; Modifiers: Integer; var Handled: Boolean) of objectUri round-trips through UTF-8 and falls back to the raw ANSI bytes when decoding is lossyTPdfView.OnWebLinkClick insteadprocedure TMain.Pdf1FormUriAction(Sender: TObject; const Uri: WString; const RawUri: AnsiString; Modifiers: Integer; var Handled: Boolean);
begin
OpenInSandboxedBrowser(Uri);
Handled := True;
end;