CanSplit Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Checks whether this table can be split. A table can only be split if it contains the current input position and no further text is selected.
Syntax
public bool CanSplit { get; }Public ReadOnly Property CanSplit As BooleanExamples
The following example places the input position in the second row and splits the table after that row when the operation is available.
textControl.Tables.Add(4, 3, 10);
Table table = textControl.Tables.GetItem(10);
textControl.InputPosition =
new InputPosition(table.Cells.GetItem(2, 1).Start);
if (table.CanSplit)
{
table.Split(TableAddPosition.After);
}textControl.Tables.Add(4, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
textControl.InputPosition =
New InputPosition(table.Cells.GetItem(2, 1).Start)
If table.CanSplit Then
table.Split(TableAddPosition.After)
End IfLimitations
Read only.