RevisionGroup Class
Represents a group of sequential Revision objects.
Inheritance Hierarchy
SystemObject
  Aspose.WordsRevisionGroup

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.11
Syntax
public class RevisionGroup

The RevisionGroup type exposes the following members.

Properties
  NameDescription
Public propertyCode exampleAuthor
Gets the author of this revision group.
Public propertyCode exampleRevisionType
Gets the type of revisions included in this group.
Public propertyCode exampleText
Returns inserted/deleted/moved text or description of format change.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Examples
Shows how to get info about a set of revisions in document.
Document doc = new Document(MyDir + "Document.Revisions.docx");

Console.WriteLine("Revision groups count: {0}\n", doc.Revisions.Groups.Count);

// Get info about all of revisions in document
foreach (RevisionGroup group in doc.Revisions.Groups)
{
    Console.WriteLine("Revision author: {0}; Revision type: {1} \nRevision text: {2}", group.Author,
        group.RevisionType, group.RevisionType);
}
See Also