PDFium Component Docs

GetRecommendedV8Flags function

Component: TPdf  ·  Unit: PDFium
Mengembalikan flag command-line V8 yang diharapkan PDFium ketika mesin V8 yang dibundelnya dipakai

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 initialization 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