Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets an int representing the height of a particular row in the table. A row height is set in twips. One twip = (1/20 pt) or (1/1440 in).

Signature
C#
C#
 public void SetRowHeight(int row, int height)
Signature
vb.net
vb.net
Public Sub SetRowHeight(ByVal row As Integer, ByVal height As Integer)
Parameters
Param
row
row

An int representing the row index to set the height for.

Param
height
height

An int representing the new 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:

Example
Code Block
csharp
csharp
titleC#

          //--- Set the height of the 3rd row to 1 inch
          oTable.SetRowHeight(2, 1440);
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Set the height of the 3rd row to 1 inch
          oTable.SetRowHeight(2, 1440)