Aspose::Words::Layout::RevisionOptions::get_InsertCellColor method

RevisionOptions::get_InsertCellColor method

Allows to specify the color to be used for inserted cells Insertion. Default value is Blue.

Aspose::Words::Layout::RevisionColor Aspose::Words::Layout::RevisionOptions::get_InsertCellColor()

Examples

Shows how to work with insert/delete cell revision color.

auto doc = System::MakeObject<Aspose::Words::Document>(System::String(get_MyDir() + u"Cell revisions.docx"));

doc->get_LayoutOptions()->get_RevisionOptions()->set_InsertCellColor(RevisionColor::LightBlue);
doc->get_LayoutOptions()->get_RevisionOptions()->set_DeleteCellColor(RevisionColor::DarkRed);

doc->Save(get_ArtifactsDir() + u"Revision.RevisionCellColor.pdf");

See Also