PDFiumVCL 文件

V8FeaturesAvailable property

此 API 條目保留識別符號、簽名、程式碼塊和 PDF 術語的原始形式。
Component: TPdf  ·  Unit: PDFium
Read-only flag — True when the loaded PDFium build embeds the V8 JavaScript engine.

Syntax

property V8FeaturesAvailable: Boolean; // read only

Description

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.

Remarks

Example

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

See Also

JavaScriptActionCount, GetRecommendedV8Flags, XfaBStrHelpersAvailable