PDFium Component Docs

V8FeaturesAvailable 関数

この API エントリでは識別子、シグネチャ、コードブロック、PDF 用語を元の表記のまま保持します。
コンポーネント: TPdf  ·  ユニット: PDFium
読み取り専用フラグです — 読み込まれた PDFium ビルドが V8 JavaScript エンジンを埋め込んでいる場合に True になります

構文

function V8FeaturesAvailable: Boolean;

説明

Returns True when the loaded PDFium build embeds the V8 JavaScript engine.

Some PDFium DLL variants ship without V8 to reduce footprint; JavaScript actions then become no-ops.

Class function; safe to call before any document is opened.

備考

if Pdf1.Active and Pdf1.V8FeaturesAvailable then
  Memo1.Lines.Add('V8FeaturesAvailable = True')
else
  Memo1.Lines.Add('V8FeaturesAvailable = False');

関連項目

JavaScriptActionCount, GetRecommendedV8Flags, XfaBStrHelpersAvailable