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(); }...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to load from local disk while using GroupDocs. Watermarks Java API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to save document to the same file or stream while using GroupDocs. Watermarks API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Check this guide to learn how to adjust PNG and JPG images size when rendering documents with Image Viewer by GroupDocs for Java....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to replace missing font when rendering documents with GroupDocs.Viewer within your Java applications....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Quick Start section for GroupDocs.Metadata API Manage metadata in your documents fast and easy with our intuitive and powerful API just with a few lines of code.
Let’s review common usage scenarios when documents are stored in a local drive and you want to manage them using GroupDocs.Metadata API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This documentation sections describe how to customize document conversion process - convert specific document pages, apply watermarks etc. when using GroupDocs.Conversion for Node.js via Java....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
Learn how to convert a JSON document as a data source to a spreadsheet using GroupDocs.Conversion for .NET....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article demonstrates how to load and convert PDF. Word, Excel, PowerPoint documents and Images using GroupDocs.Conversion for .NET API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This section explains GroupDocs.Conversion for Java convert options specific to various document types...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...