PDFiumPas 文档

Loaded 函数

此 API 条目保留标识符、签名、代码块和 PDF 术语的原始形式。
组件: TPdf  ·  单元: PDFium
只读标志——当 PDF 库 DLL 已加载到进程后为 True

语法

function Loaded: Boolean;

说明

Returns True after the PDF library DLL has been loaded into the process.

The PDFium runtime must be loaded once per process; TPdf.LoadLibrary is called automatically on first Active := True.

Read at any time, including before any TPdf instance exists (it is a class function).

备注

示例

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

另请参阅

LoadLibrary, UnloadLibrary, V8FeaturesAvailable