TPDFlibCalcVariableEvent
Data types, events
Description
Resolves a custom variable placeholder while PDFlibPas expands header, footer, stamp, or text tokens
Syntax
Delphi
TPDFlibCalcVariableEvent = Procedure(Sender: TObject; Const VarName: WideString; Var VarValue: WideString; PageNo: Integer) Of Object;Parameters
| Sender | The TPDFlib instance expanding the token |
|---|---|
| VarName | The placeholder name without the <% and %> delimiters |
| VarValue | Assign the replacement text, or leave it empty to remove the placeholder |
| PageNo | The one-based page number for the current expansion |