PDFium Component Docs

V8FeaturesAvailable function

Component: TPdf  ·  Unit: PDFium
Read-only flag — True when the loaded PDFium build embeds the V8 JavaScript engine

Syntax

function V8FeaturesAvailable: Boolean;

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