Back to Devexpress

MailMergeOptions.CopyTemplateStyles Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-mailmergeoptions-ca9c95d9.md

latest1.8 KB
Original Source

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

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

Property Value

TypeDescription
Boolean

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

|

Remarks

When the CopyTemplateStyles property is set to true , all styles contained in the template document are copied to the resulting document.

The CopyTemplateStyles property value only affects the current mail merge operation, for which new MailMergeOptions settings are specified.

See Also

MailMergeOptions

Word Processing Document API: Use Mail Merge to Transform Plain or Master-Detail Data into Personalized Documents or Reports

MailMergeOptions Members

DevExpress.XtraRichEdit.API.Native Namespace