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(); }...Assembly Product Solution GroupDocs...
This article explains how to save comparison result in different format after files comparison within your .NET applications using GroupDocs.Comparison for .NET....Assembly Product Solution GroupDocs...
Learn how to save the comparison result to different output formats using GroupDocs.Comparison for Python via .NET....Assembly Product Solution GroupDocs...
This topic describes how to optimize PDF file in the GroupDocs.Viewer .NET API (C#) for web browser or to reduce size....Assembly Product Solution GroupDocs...
This article explains how to activate the comparison of bookmarks for Word format in GroupDocs.Comparison for .NET....Assembly Product Solution GroupDocs...
This section shows how to update electronic signatures in documents using GroupDocs.Signature for Python via .NET....Assembly Product Solution GroupDocs...
The page describes how to load PDF, Word, Excel, PowerPoint documents from local disk using GroupDocs.Annotation for Java....Assembly Product Solution GroupDocs...