delete_cell_color property
RevisionOptions.delete_cell_color property
Allows to specify the color to be used for deleted cells RevisionType.DELETION. Default value is RevisionColor.PINK.
@property
def delete_cell_color(self) -> aspose.words.layout.RevisionColor:
...
@delete_cell_color.setter
def delete_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