Aspose::Words::RevisionGroup::get_RevisionType method
RevisionGroup::get_RevisionType method
Gets the type of revisions included in this group.
Aspose::Words::RevisionType Aspose::Words::RevisionGroup::get_RevisionType()
Examples
Shows how to print info about a group of revisions in a document.
auto doc = MakeObject<Document>(MyDir + u"Revisions.docx");
ASSERT_EQ(7, doc->get_Revisions()->get_Groups()->get_Count());
for (const auto& group : doc->get_Revisions()->get_Groups())
{
std::cout << String::Format(u"Revision author: {0}; Revision type: {1} \n\tRevision text: {2}", group->get_Author(), group->get_RevisionType(),
group->get_Text())
<< std::endl;
}
See Also
- Enum RevisionType
- Class RevisionGroup
- Namespace Aspose::Words
- Library Aspose.Words for C++