TX Text Control .NET Server

Culture Property

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

Description

Gets or sets the format provider for numerical value comparison. The default value for this property is the invariant culture.

Syntax

public CultureInfo Culture { get; set; }

Examples

The following example uses FilterInstruction.Culture to configure culture as part of the filter instruction workflow. The configured value is checked before the workflow continues.

filterInstruction.Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US");
if (filterInstruction.Culture != null)
{
    Console.WriteLine("Filter Instruction: Culture is available.");
}