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 truncate font heights for this document.

Signature
C#
C#

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

Public Property TruncateFontHeight() As Boolean
Remarks

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for [filename].doc section > Options > Truncate font height

Example
Code Block
csharp
csharp
titleC#
            //--- Return TruncateFontHeight
          bool truncateFontHeight = cs.TruncateFontHeight;

          //--- Set TruncateFontHeight
          cs.TruncateFontHeight = true;
        
Code Block
vb.net
vb.net
titlevb.net
            '--- Return TruncateFontHeight
          Dim truncateFontHeight As Boolean = cs.TruncateFontHeight

          '--- Set TruncateFontHeight
          cs.TruncateFontHeight = True