Skip to main content

TdxCalculateDocumentVariableEvent Type

The procedural type for document variable calculation events.

Declaration

TdxCalculateDocumentVariableEvent = procedure(Sender: TObject; E: TdxCalculateDocumentVariableEventArgs) of object;

Parameters

Name Type Description
Sender TObject

Provides access to the DevExpress Rich Text component that raised the document variable calculation event.

Cast the Sender parameter to the TdxRichEditControl or TdxRichEditDocumentServer class to access all public API members.

Tip

Call the Sender.ClassType function or use other RTTI functionality to identify the actual component type.

E TdxCalculateDocumentVariableEventArgs

Provides access to additional event parameters.

You can use these parameters to modify or disable predefined variable calculation routines.

Remarks

Handle a document variable calculation event to modify or disable predefined variable calculation routines.

Direct TdxCalculateDocumentVariableEvent Type References

The following events reference the TdxCalculateDocumentVariableEvent procedural type:

TdxRichEditControlBase.OnCalculateDocumentVariable
Enables you to insert custom content into a DOCVARIABLE field.
TdxRichEditCustomDocumentServer.OnCalculateDocumentVariable
Enables you to insert custom content into a DOCVARIABLE field.
See Also