The following example demonstrates how to save file in its original format with current date as a suffix:
final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); SaveOptions saveOptions = new SaveOptions(); saveOptions.setAddSuffix(true); saveOptions.setRasterizeToPDF(false); saveOptions.setRedactedFileSuffix(new SimpleDateFormat("dd-MM-yyyy").format(new Date())); // Saving in original format with date as DateTime.getNow().toShortDateString()a suffix redactor.save(saveOptions); } finally { redactor.close(); }...Comparison Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Find answers about file formats processing in code. Knowledge base of all file format manipulation examples in .NET C# and Java.... GroupDocs.Watermark Product Family Find answers...
Learn more about document saving and how to customize process with available options, like: cloning metadata type, gets or sets password and etc...Comparison Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Learn more about document saving and how to customize process with available options, like, cloning metadata type, gets or sets password and etc...Parser Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This section decsribes how to get started with GroupDocs.Merger for .NET library...Comparison Product Solution GroupDocs.Watermark Product Solution GroupDocs...