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....Assembly Product Solution GroupDocs...
Use GroupDocs.Editor libraries to programmatically edit Word documents, Excel spreadsheets and PowerPoint presentations...Assembly Product Solution GroupDocs...
This article shows how to add a text watermark and save the resultant document. It is capable of adding watermarks to images or documents....Assembly Product Solution GroupDocs...
This article shows how to add an image watermark and save the resultant document. It is capable of adding watermarks to images or documents....Assembly Product Solution GroupDocs...
This article explains how to open password-protected document with GroupDocs.Viewer within your .NET applications....Assembly Product Solution GroupDocs...
This article explains how to load a document from a Stream with GroupDocs.Viewer within your .NET applications....Assembly Product Solution GroupDocs...
This article explains how to specify the file type when loading a document with GroupDocs.Viewer within your .NET applications....Assembly Product Solution GroupDocs...