Back to Devexpress

CalculateDocumentVariableEventArgs.PreserveInsertedContentFormatting Property

officefileapi-devexpress-dot-xtrarichedit-dot-calculatedocumentvariableeventargs-224852d1.md

latest1.8 KB
Original Source

CalculateDocumentVariableEventArgs.PreserveInsertedContentFormatting Property

Gets or sets whether to insert an additional hidden paragraph so that the inserted content is not formatted with the DOCVARIABLE field’s paragraph formatting.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public bool PreserveInsertedContentFormatting { get; set; }
vb
Public Property PreserveInsertedContentFormatting As Boolean

Property Value

TypeDescription
Boolean

True , to insert a hidden paragraph before the DOCVARIABLE field’s content; otherwise, false.

|

Remarks

Specify the PreserveInsertedContentFormatting option to preserve formatting of the first paragraph in the inserted content when the DOCVARIABLE field is evaluated.

See Also

CalculateDocumentVariableEventArgs Class

CalculateDocumentVariableEventArgs Members

DevExpress.XtraRichEdit Namespace