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 show formatting revisions in this document.{excerpt}
{signature:C#}
 public boolean ShowFormattingRevisions{ get; set; }
{signature}{signature:vb.net}
Public Property ShowFormattingRevisions() As Boolean
{signature}
{remarks}This option is set to false by default.

MS Word equivalent: Tools menu > Options... > Track changes tab > Markup section > Formatting:

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

          //--- Return ShowFormattingRevisions
          bool showFormattingRevisions = changeTracking.ShowFormattingRevisions;

          //--- Set ShowFormattingRevisions
          changeTracking.ShowFormattingRevisions = true;
        {code}
{code:vb.net|title=vb.net}

          '--- Return ShowFormattingRevisions
          Dim showFormattingRevisions As Boolean = changeTracking.ShowFormattingRevisions

          '--- Set ShowFormattingRevisions
          changeTracking.ShowFormattingRevisions = True
        {code}

{example}