TX Text Control .NET for WPF

UseTemplateFormat Property

Property|Introduced in 14.0
Namespace
TXTextControl.DocumentServer
Package
TXTextControl.TextControl.WPF.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Specifies whether the template page size and margins should be used or not. The default value is false.

Syntax

public bool UseTemplateFormat { get; set; }

Examples

The following example uses MailMerge.UseTemplateFormat to configure use template format as part of the mail merge workflow. The configured value is checked before the workflow continues.

mailMerge.UseTemplateFormat = true;
if (mailMerge.UseTemplateFormat)
{
    Console.WriteLine("Mail Merge: Use Template Format is enabled.");
}