Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

Document.Variables Property

Provides access to the collection of string values associated with document variables.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

DocumentVariableCollection Variables { get; }

Property Value

Type Description
DocumentVariableCollection

A DocumentVariableCollection object containing document variables.

Remarks

The DocumentVariableCollection holds variables as key-value pairs (the variable name is the key).

The DOCVARIABLE field can be used to insert a document variable value in the document. Handle one of the following events to adjust the content inserted in place of the field as required:

Use the SubDocument.Fields property to access the DOCVARIABLE fields.

See Also