DOCVARIABLE
DOCVARIABLE
Mixed field
{ DOCVARIABLE "variable name" "argument1" "argument 2"... }
Inserts the value of a document variable specified by a text in field argument. Document variables are contained in the DocumentVariableCollection collection object, accessible via the Document.Variables property. Before a field is updated, the Document.CalculateDocumentVariable event is fired allowing you to manually calculate the required value. The CalculateDocumentVariableEventArgs.Arguments provides access to a collection of arguments contained within the field.
NOTE
You can return any object as a document variable. It could be an image or even a document.
TIP
A complete sample project is available in the DevExpress Code Examples database at http://www.
You can create a master-detail report by using DOCVARIABLE fields, handling the Document.CalculateDocumentVariable event and processing document parts within the RichEditDocumentServer instances.
TIP
A complete sample project is available in the DevExpress Code Examples database at http://www.