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
Wiki Markup
{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\).{excerpt}
{signature:C#}
 public void SetRowHeight(int row, int height)
{signature}{signature:vb.net}
Public Sub SetRowHeight(ByVal row As Integer, ByVal height As Integer)
{signature}
{parameters}
{param:row}An {{int}} representing the row index to set the height for.{param}
{param:height}An {{int}} representing the new height in twips of the specified row. One twip = \(1/20 pt\) or \(1/1440 in\).{param}
{remarks}MS Word equivalent: Table menu > Table properties... > Row tab > Size section > Row \#: > Specify height:

{remarks}
{example}{code:csharp|title=C#}

          //--- Set the height of the 3rd row to 1 inch
          oTable.SetRowHeight(2, 1440);
        {code}
{code:vb.net|title=vb.net}

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

{example}