officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablecell-8ff9f273.md
Gets or sets the height of a table cell.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
float Height { get; set; }
Property Height As Single
| Type | Description |
|---|---|
| Single |
A Single value that is the height in points.
|
We do not recommend setting different size to several cells within one column. It changes the layout of the whole column.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Height property.
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-tables-simple-example/CS/TablesSimpleExample/Form1.cs#L42
table[0, 2].HeightType = HeightType.Exact;
table[0, 2].Height = Units.InchesToDocumentsF(0.5f);
word-document-api-table-examples/CS/Program.cs#L61
table[0, 1].HeightType = HeightType.Exact;
table[0, 1].Height = Units.InchesToDocumentsF(0.5f);
winforms-richedit-tables-simple-example/VB/TablesSimpleExample/Form1.vb#L37
table(0, 2).HeightType = HeightType.Exact
table(0, 2).Height = Units.InchesToDocumentsF(0.5F)
'Set the third column width
word-document-api-table-examples/VB/Program.vb#L48
table(0, 1).HeightType = HeightType.Exact
table(0, 1).Height = Units.InchesToDocumentsF(0.5F)
'Set the third column width
See Also