UseTemplateFormat Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property UseTemplateFormat As BooleanExamples
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.");
}mailMerge.UseTemplateFormat = True
If mailMerge.UseTemplateFormat Then
Console.WriteLine("Mail Merge: Use Template Format is enabled.")
End If