insert_cell_color property
RevisionOptions.insert_cell_color property
Allows to specify the color to be used for inserted cells RevisionType.INSERTION. Default value is RevisionColor.BLUE.
@property
def insert_cell_color(self) -> aspose.words.layout.RevisionColor:
...
@insert_cell_color.setter
def insert_cell_color(self, value: aspose.words.layout.RevisionColor):
...
Examples
Shows how to work with insert/delete cell revision color.
doc = aw.Document(file_name=MY_DIR + 'Cell revisions.docx')
doc.layout_options.revision_options.insert_cell_color = aw.layout.RevisionColor.LIGHT_BLUE
doc.layout_options.revision_options.delete_cell_color = aw.layout.RevisionColor.DARK_RED
doc.save(file_name=ARTIFACTS_DIR + 'Revision.RevisionCellColor.pdf')
See Also
- module aspose.words.layout
- class RevisionOptions