PDFium Component Docs

GetRecommendedV8Flags function

Component: TPdf  ·  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

Wraps the corresponding PDFium API and exposes it as a TPdf instance member so consumers do not have to manage FPDF_DOCUMENT handles directly

Remarks

Example

begin
  TPdf.GetRecommendedV8Flags;
end;

See Also

V8FeaturesAvailable, XfaBStrHelpersAvailable