PDFium Delphi Component Docs

GetRecommendedV8Flags function

Unit: PDFium
Returns the V8 command-line flags PDFium expects when its bundled V8 engine is used

Syntax

function GetRecommendedV8Flags: string;

Description

Returns the V8 command-line flags PDFium expects when its bundled V8 engine is used

Pass to v8::V8::SetFlagsFromString before any V8 initialisation in a C++ host; not normally needed from Delphi

Unit-level function in the PDFium unit; hands back the flag string recommended by the loaded V8-enabled PDFium DLL

Remarks

Example

begin
  Memo1.Lines.Add(PDFium.GetRecommendedV8Flags);
end;

See Also

V8FeaturesAvailable, XfaBStrHelpersAvailable