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 or returns a {{boolean}} that represents whether or not Word will truncate font heights for this document.{excerpt}
{signature:C#}
 public boolean TruncateFontHeight{ get; set; }
{signature}{signature:vb.net}
Public Property TruncateFontHeight() As Boolean
{signature}
{remarks}MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for \[filename\].doc section > Options > Truncate font height

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

          //--- Return TruncateFontHeight
          bool truncateFontHeight = cs.TruncateFontHeight;

          //--- Set TruncateFontHeight
          cs.TruncateFontHeight = true;
        {code}
{code:vb.net|title=vb.net}

          '--- Return TruncateFontHeight
          Dim truncateFontHeight As Boolean = cs.TruncateFontHeight

          '--- Set TruncateFontHeight
          cs.TruncateFontHeight = True
        {code}

{example}