Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets a boolean that represents if the row height is "exact" (true) or "at least" (false).

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets a {{boolean}} that represents if the row height is "exact" \(true\) or "at least" \(false\).{excerpt}
{signature:C#}
 public void SetRowHeightExact(int row, boolean exact)
Signature
{signature}{signature:vb.net
vb.net
}
Public Sub SetRowHeightExact(ByVal row As Integer, ByVal exact As Boolean)
Parameters

...

An int representing the row index to set RowHeightExact for.

...

A boolean that represents if the specified row's height should be "exact" (true) or "at least" (false).

Remarks

MS Word equivalent: Table menu > Table properties... > Row tab > Size section > Row #: > Row height is:

Note: To set this property, you must first set the RowHeight property.

{signature}
{parameters}
{param:row}An {{int}} representing the row index to set RowHeightExact for.{param}
{param:exact}A {{boolean}} that represents if the specified row's height should be "exact" \(true\) or "at least" \(false\).{param}
{remarks}MS Word equivalent: Table menu > Table properties... > Row tab > Size section > Row \#: > Row height is:

*Note:* To set this property, you must first set the RowHeight property.

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

          //--- Set RowHeightExact for the 3rd row to exact
          oTable.SetRowHeightExact(2, true);
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Set RowHeightExact for the 3rd row to exact
          oTable.SetRowHeightExact(2, True)
        {code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle