Skip to main content
A newer version of this page is available. .

MailMergeOptions.CopyTemplateStyles Property

Gets or sets whether all styles contained in the template are copied to the resulting document.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

bool CopyTemplateStyles { get; set; }

Property Value

Type Description
Boolean

true to copy all styles to the merged document; otherwise, false.

Remarks

When the CopyTemplateStyles property it is set to true, all styles contained in the document that serves as the template for the mail merge, are copied to the resulting document.

The RichEditMailMergeOptions class (an instance of this class is accessible via the RichEditControlOptionsBase.MailMerge) does not implement this property. The CopyTemplateStyles property value only affects the current mail merge operation, for which new MailMergeOptions settings are specified. It cannot be set for the RichEditControl or RichEditDocumentServer by default.

See Also