Description
Returns an int representing the height of a particular row in the table. The default row height unit is twips. One twip = (1/20 pt) or (1/1440 in).
C#
public int GetRowHeight(int row)
vb.net
Public Function GetRowHeight(ByVal row As Integer) As Integer
Parameters
row
Anint representing the index of the desired row.
Returns
Anint representing the height in twips of the specified row. One twip = (1/20 pt) or (1/1440 in).
Remarks
MS Word equivalent: Table menu > Table properties... > Row tab > Size section > Row #: > Specify height:Examples
C#
//--- Get the height of the 3rd row
int rowHeight = oTable.GetRowHeight(2);
vb.net
'--- Get the height of the 3rd row
Dim rowHeight As Integer = oTable.GetRowHeight(2)
