Back to Devexpress

TdxCalculateDocumentVariableEvent Type

vcl-dxrichedit-dot-types-b8932983.md

latest2.3 KB
Original Source

TdxCalculateDocumentVariableEvent Type

The procedural type for document variable calculation events.

Declaration

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

Parameters

NameTypeDescription
SenderTObject

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.OnCalculateDocumentVariableEnables you to insert custom content into a DOCVARIABLE field.TdxRichEditCustomDocumentServer.OnCalculateDocumentVariableEnables you to insert custom content into a DOCVARIABLE field. See Also

TdxCustomizeMergeFieldsEvent Procedural Type

TdxMailMergeRecordFinishedEvent Procedural Type

TdxMailMergeRecordStartedEvent Procedural Type

dxRichEdit.Types Unit