Back to Devexpress

DocumentVariableCollection Class

officefileapi-devexpress-dot-xtrarichedit-37b4d420.md

latest2.4 KB
Original Source

DocumentVariableCollection Class

A collection of document variables.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public class DocumentVariableCollection
vb
<ComVisible(True)>
Public Class DocumentVariableCollection

The following members return DocumentVariableCollection objects:

Remarks

Use the Document.Variables property to get access to the DocumentVariableCollection.

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.

Inheritance

Object DocumentVariableCollection

See Also

DocumentVariableCollection Members

DOCVARIABLE

DevExpress.XtraRichEdit Namespace