.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

FieldOptions.UpdateDocVariablesBeforePrint Property

Specifies whether to refresh the values of document variables when the document is printed or exported to PDF.

Namespace: DevExpress.XtraRichEdit

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

Declaration

[DefaultValue(true)]
public bool UpdateDocVariablesBeforePrint { get; set; }

Property Value

Type Description
Boolean

true to ensure that the printed and exported values are up to date; otherwise false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to UpdateDocVariablesBeforePrint
WinForms Controls SnapControlOptions
.Fields.UpdateDocVariablesBeforePrint
RichEditControlOptions
.Fields.UpdateDocVariablesBeforePrint
WPF Controls RichEditControlOptions
.Fields.UpdateDocVariablesBeforePrint
Office File API RichEditControlOptionsBase
.Fields.UpdateDocVariablesBeforePrint

Remarks

The UpdateDocVariablesBeforePrint option setting affects any document loaded in the RichEditControl. However, if a document has the Document.UpdateDocVariablesBeforePrint property set, its value has priority over the UpdateDocVariablesBeforePrint setting.

See Also