PDFium Delphi Component Docs

V8FeaturesAvailable function

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

Syntax

function V8FeaturesAvailable: Boolean;

Description

Gives True when the loaded PDFium build ships with the V8 JavaScript engine embedded

Certain PDFium DLL variants omit V8 to keep the footprint down; JavaScript actions then turn into no-ops

A unit-level routine in the PDFium unit; safe to call before any document is open

Remarks

Example

if PDFium.V8FeaturesAvailable then
  Memo1.Lines.Add('V8FeaturesAvailable = True')
else
  Memo1.Lines.Add('V8FeaturesAvailable = False');

See Also

JavaScriptActionCount, GetRecommendedV8Flags, XfaBStrHelpersAvailable