Back to Devexpress

Document.Variables Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-ff0a83ca.md

latest2.3 KB
Original Source

Document.Variables Property

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

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
DocumentVariableCollection Variables { get; }
vb
ReadOnly Property Variables As DocumentVariableCollection

Property Value

TypeDescription
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

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace