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

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.v20.2.Core.dll

Declaration

bool CopyTemplateStyles { get; set; }
Property CopyTemplateStyles As Boolean

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