officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablecell-e2263f2b.md
Obtains the vertical merge state of the current cell (whether the cell is merged vertically) and its relative position in a merged object.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
VerticalMergingState VerticalMerging { get; }
ReadOnly Property VerticalMerging As VerticalMergingState
| Type | Description |
|---|---|
| VerticalMergingState |
A VerticalMergingState enumeration member that specifies the state of the cell regarding the vertical merge.
|
Available values:
| Name | Description |
|---|---|
| None |
The cell is not merged vertically.
| | Continue |
The cell continues vertical merging.
| | Restart |
The cell starts vertical merging.
|
This code snippet performs the following:
Document document = server.Document;
Table table = document.Tables.Create(document.Range.Start, 6, 8);
table.BeginUpdate();
table.MergeCells(table[2, 1], table[5, 1]);
table.MergeCells(table[2, 3], table[2, 7]);
table.EndUpdate();
Dim document As Document = server.Document
Dim table As Table = document.Tables.Create(document.Range.Start, 6, 8)
table.BeginUpdate()
table.MergeCells(table(2, 1), table(5, 1))
table.MergeCells(table(2, 3), table(2, 7))
table.EndUpdate()
See Also