PDFiumPas 文件

GetRecommendedV8Flags 函式

元件: TPdf  ·  單元: PDFium
傳回 PDFium 在使用內建 V8 引擎時所預期的 V8 命令列旗標

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