Back to Devexpress

RichEditMailMergeOptions.KeepLastParagraph Property

officefileapi-devexpress-dot-xtrarichedit-dot-richeditmailmergeoptions-5bbd0fcd.md

latest2.3 KB
Original Source

RichEditMailMergeOptions.KeepLastParagraph Property

Specifies whether to keep the last paragraph of the inserted document in the resulting document.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[DefaultValue(false)]
public bool KeepLastParagraph { get; set; }
vb
<DefaultValue(False)>
Public Property KeepLastParagraph As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to retain the last paragraph of the inserted document; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to KeepLastParagraph
RichEditControlOptionsBase

.MailMerge .KeepLastParagraph

|

Remarks

The KeepLastParagraph property specifies how the document is inserted in place of the DOCVARIABLE field if the Document.CalculateDocumentVariable event is properly handled.

See Also

DOCVARIABLE

CalculateDocumentVariable

KeepLastParagraph

RichEditMailMergeOptions Class

RichEditMailMergeOptions Members

DevExpress.XtraRichEdit Namespace