Culture Property
- Namespace
TXTextControl.DocumentServer. DataShaping
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK 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; }Public Property Culture As CultureInfoExamples
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.");
}filterInstruction.Culture = System.Globalization.CultureInfo.GetCultureInfo("en-US")
If filterInstruction.Culture IsNot Nothing Then
Console.WriteLine("Filter Instruction: Culture is available.")
End If