TX Text Control .NET for WPF

SupportedNumberFormats Property

Property|Introduced in 26.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a list of often used number formats for formula results. See Formatting Text by using Number Formats for more information about number format strings.

Syntax

public string[] SupportedNumberFormats { get; }

Examples

The following example works with tables in the current document by using TableCollection.SupportedNumberFormats.

TableCollection tableCollection = textControl.Tables;
tableCollection.Add(3, 3, 10);

foreach (string text in tableCollection.SupportedNumberFormats)
{
    Console.WriteLine(text.Length);
}

Limitations

Read only.