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

Document.UpdateDocVariablesBeforePrint Property

Gets or sets whether DOCVARIABLE fields are automatically updated before a document is printed or exported to PDF.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

UpdateDocVariablesBeforePrint UpdateDocVariablesBeforePrint { get; set; }

Property Value

Type Description
UpdateDocVariablesBeforePrint

An UpdateDocVariablesBeforePrint enumeration value.

Remarks

The UpdateDocVariablesBeforePrint setting is stored within the document in OpenXml (.docx) format. Microsoft Word preserves this setting when a document is re-saved, not making use of it.

The UpdateDocVariablesBeforePrint property has priority over the FieldOptions.UpdateDocVariablesBeforePrint setting of the RichEditControl.

See Also