PDFium Delphi Component Docs

OnXfaUriAction property

Component: TPdf  ·  Unit: PDFium
Fired when a URI action is executed in a dynamic XFA context

Syntax

property OnXfaUriAction: TPdfXfaUriActionEvent read FOnXfaUriAction write FOnXfaUriAction;

Description

Occurs when a link or action inside an XFA-compliant layout requests an external URI lookup, with associated modifiers

Parameters

SenderThe component that triggered the event
UriThe target URI address requested by the form action
ModifiersBitmask indicating modifier keys (Shift, Ctrl, Alt) pressed during the action
HandledSet this to True to signal the action has been handled by the host application

Remarks

Example

procedure TForm1.Pdf1XfaUriAction(Sender: TObject; const Uri: WString; Modifiers: Integer; var Handled: Boolean);
begin
  // handle target URI with modifier checks
  Handled := True;
end;

See Also

OnJavaScriptResponse OnXfaGotoUrl