TX Text Control .NET for Windows Forms

MergeCulture Property

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

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; }

Examples

The following example uses NextIfField.MergeCulture to configure merge culture as part of the next if field workflow. The configured value is checked before the workflow continues.

nextIfField.MergeCulture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (nextIfField.MergeCulture != null)
{
    Console.WriteLine("Next If Field: Merge Culture is available.");
}