PDFium Delphi Component Docs

FormHostCallbacksComplete property

Component: TPdf  ·  Unit: PDFium
Reports whether every optional form host callback is wired

Syntax

property FormHostCallbacksComplete: Boolean read GetFormHostCallbacksComplete;

Description

FormHostCallbacksComplete returns True when the form host object has every optional callback slot populated, including the cursor, value-change, URI action, go-to action and selection-rectangle callbacks that back the OnForm* events

A False value means part of the interactive form surface falls back to default behaviour because the loaded runtime does not expose all entry points

Remarks

    • The value is meaningful only whilst a document with a form layer is loaded
    • Check it after LoadDocument when the host relies on OnFormSelectionRect or OnFormCursor being raised

Example

if not Pdf1.FormHostCallbacksComplete then
  Log('Form host runs with reduced callbacks');

See Also