Converts a range of text to a table.
Namespace:
C1.Silverlight.RichTextBoxAssembly: C1.Silverlight.RichTextBox (in C1.Silverlight.RichTextBox.dll)
Syntax
C# |
---|
public static C1Table ConvertTextToTable( this C1TextRange range ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function ConvertTextToTable ( _ range As C1TextRange _ ) As C1Table |
Parameters
- range
- Type: C1.Silverlight.RichTextBox.Documents..::..C1TextRange
The range to convert.
Return Value
The table generated from the text in the range.
Remarks
The input text is split on newlines to generate rows. Tabs, commas or spaces separate columns.