MergeCulture Property
- Namespace
TXTextControl.DocumentServer
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Specifies the culture with which numerical and date / time values are formatted when merged into the target document. The default value for this property is the current thread culture.
Syntax
public CultureInfo MergeCulture { get; set; }Public Property MergeCulture As CultureInfoExamples
The following example uses MailMerge.MergeCulture to configure merge culture as part of the mail merge workflow. The configured value is checked before the workflow continues.
mailMerge.MergeCulture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (mailMerge.MergeCulture != null)
{
Console.WriteLine("Mail Merge: Merge Culture is available.");
}mailMerge.MergeCulture = System.Globalization.CultureInfo.GetCultureInfo("en-US")
If mailMerge.MergeCulture IsNot Nothing Then
Console.WriteLine("Mail Merge: Merge Culture is available.")
End If