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 display revisions for this document.{excerpt}
{signature:C#}
 public boolean DisplayRevisions{ get; set; }
{signature}{signature:vb.net}
Public Property DisplayRevisions() As Boolean
{signature}
{remarks}This is set to true by default if TrackChanges is set to true.

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

          //--- Return DisplayRevisions
          bool displayRevisions = changeTracking.DisplayRevisions;

          //--- Set DisplayRevisions
          changeTracking.DisplayRevisions = false;
        {code}
{code:vb.net|title=vb.net}

          '--- Return DisplayRevisions
          Dim displayRevisions As Boolean = changeTracking.DisplayRevisions

          '--- Set DisplayRevision
          changeTracking.DisplayRevisions = False
        {code}

{example}