SupportedNumberFormats Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property SupportedNumberFormats As String()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);
}Dim tableCollection As TableCollection = textControl.Tables
tableCollection.Add(3, 3, 10)
For Each text As String In tableCollection.SupportedNumberFormats
Console.WriteLine(text.Length)
NextLimitations
Read only.