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 center "exact line height" lines in this document.{excerpt}
{signature:C#}
 public boolean ExactOnTop{ get; set; }
{signature}{signature:vb.net}
Public Property ExactOnTop() As Boolean
{signature}
{remarks}This is set to {{false}} by default.

MS Word equivalent: Tools menu > Options... > Compatibility tab > Compatibility options for \[filename\].doc section > Options > Don't center "exact line height" lines

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

          //--- Return ExactOnTop
          bool exactOnTop = cs.ExactOnTop;

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

          '--- Return ExactOnTop
          Dim exactOnTop As Boolean = cs.ExactOnTop

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

{example}