Skip to main content

DocumentVariableCollection Class

A collection of document variables.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v14.2.Core.dll

#Declaration

[ComVisible(true)]
public class DocumentVariableCollection

#Returned By

The Document.Variables property returns an instance of DocumentVariableCollection.

#Remarks

Use the Document.Variables property to get access to all variables in a document.

The DocumentVariableCollection holds variables as key-value pairs.

The DOCVARIABLE can be used to insert a document variable value in the document. The RichEditControl.CalculateDocumentVariable event fires before the field is updated, and enables you to adjust the content inserted in place of the field as required.

#Inheritance

Object
DocumentVariableCollection
See Also