RevisionGroupCollection indexer
__getitem__(index)
Returns a revision group at the specified index.
def __getitem__(self, index: int):
...
Parameter | Type | Description |
---|---|---|
index | int |
Examples
Shows how to get a group of revisions in a document.
doc = aw.Document(file_name=MY_DIR + 'Revisions.docx')
revision_group = doc.revisions.groups[0]
See Also
- module aspose.words
- class RevisionGroupCollection