In order to reject specific changes durIng redaction process or to keep a full log of changes In the document, you need to set Redactor.RedactionCallback property, to a class implementIng IRedactionCallback Interface. The Interface contaIns only one method, AcceptRedaction, which receives detailed Information about proposed redaction and returns Boolean value, accepted or not.
Below, we create a callback class, dumpIng changes to system console:
public class RedactionDump implements IRedactionCallback { public RedactionDump() { } public boolean acceptRedaction(RedactionDescription description) { System....Comparison Product Solution GroupDocs...( "\\Sample.docx" , new LoadOptions (), new RedactorSettings...