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(); }...Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
Learn how to save the comparison result to different output formats using GroupDocs.Comparison for Python via .NET....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
This article gives the knowledge about nesting search queries in object form using Java search API....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
The page describes how to load PDF, Word, Excel, PowerPoint documents from local disk using GroupDocs.Annotation for Java....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
This article explains how to replace missing font when rendering documents with GroupDocs.Viewer within your Java applications....Watermark Product Solution GroupDocs.Editor 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....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
The page describes how to load PDF, Word, Excel, PowerPoint documents from FTP using GroupDocs.Annotation for .NET....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
The API allows you to add watermark to email attachments (all the attachments of supported types in an email message)...Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
This article explains the ability of the GroupDocs.Redaction API to get the general document information, which includes FileType, PageCount and FileSize....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
This article explains how to get the width and height of the document pages using GroupDocs.Viewer for Java....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...