officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablecell-dot-split-x28-system-dot-int32-system-dot-int32-x29.md
Splits a single table cell into multiple cells.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
void Split(
int rowsCount,
int columnCount
)
Sub Split(
rowsCount As Integer,
columnCount As Integer
)
| Name | Type | Description |
|---|---|---|
| rowsCount | Int32 |
The number of rows that the cell is to be split into.
| | columnCount | Int32 |
The number of columns that the cell is to be split into.
|
The following code snippets (auto-collected from DevExpress Examples) contain references to the Split(Int32, Int32) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/Table.cs#L238
//split a cell into three:
table.Cell(2, 1).Split(1, 3);
#endregion #SplitCells
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/TableActions.cs#L242
//split a cell to three:
table.Cell(2, 1).Split(1, 3);
#endregion #SplitCells
winforms-richedit-tables-simple-example/CS/TablesSimpleExample/Form1.cs#L54
// Split cell into 8
table[3, 2].Split(4, 2);
word-document-api-examples/CS/CodeExamples/TablesActions.cs#L339
// Split a cell vertically to three cells.
table.Cell(2, 1).Split(1, 3);
#endregion #SplitCells
word-document-api-table-examples/CS/Program.cs#L74
//Split cell into 8
table[3, 1].Split(4, 2);
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/Table.vb#L213
'split a cell into three:
table.Cell(CInt((2)), CInt((1))).Split(1, 3)
#End Region ' #SplitCells
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/TableActions.vb#L214
'split a cell to three:
table.Cell(2, 1).Split(1, 3)
' #End Region ' #SplitCells
winforms-richedit-tables-simple-example/VB/TablesSimpleExample/Form1.vb#L46
' Split cell into 8
table(3, 2).Split(4, 2)
' Merge cells
word-document-api-examples/VB/CodeExamples/TablesActions.vb#L291
' Split a cell vertically to three cells.
table.Cell(CInt((2)), CInt((1))).Split(1, 3)
#End Region ' #SplitCells
word-document-api-table-examples/VB/Program.vb#L58
'Split cell into 8
table(3, 1).Split(4, 2)
'Merge cells
See Also