Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Excerpt

Sets or returns a boolean that represents whether or not Word will auto-adjust line height in Tables in this document.

Signature
C#
C#

 public boolean AdjustTableLineHeight{ get; set; }
Signature
vb.net
vb.net

Public Property AdjustTableLineHeight() As Boolean
Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Adjust line height to grid height in the table

Example
Code Block
csharp
csharp
titleC#
            //--- Return AdjustTableLineHeight
          bool adjustTableLineHeight = cs.AdjustTableLineHeight;

          //--- Set AdjustTableLineHeight
          cs.AdjustTableLineHeight = true;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return AdjustTableLineHeight
          Dim adjustTableLineHeight As Boolean = oCompatibilitySettings.AdjustTableLineHeight

          '--- Set AdjustTableLineHeight
          oCompatibilitySettings.AdjustTableLineHeight = True