TdxCalculateDocumentVariableEvent Type
A document variable calculation event type.
Declaration
TdxCalculateDocumentVariableEvent = procedure(Sender: TObject; E: TdxCalculateDocumentVariableEventArgs) of object;
Parameters
Name | Type |
---|---|
Sender | TObject |
E | TdxCalculateDocumentVariableEventArgs |
Remarks
This event occurs every time a Rich Edit component is about to calculate a document variable.
The Sender parameter provides access to the Rich Edit component that raised a TdxCalculateDocumentVariableEvent event. Cast the parameter value to the TdxRichEditControl or TdxRichEditDocumentServer class to access all class-specific members of the event sender.
The E parameter provides access to additional event arguments that you can change to modify or cancel the predefined document variable calculation routine. Refer to the TdxCalculateDocumentVariableEventArgs class description for detailed information on available options.
The following public API members reference the TdxCalculateDocumentVariableEvent procedural type:
The Rich Edit control’s OnCalculateDocumentVariable event.
The document server‘s OnCalculateDocumentVariable event.