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 explains how to replace missing font when rendering documents with GroupDocs.Viewer within your Java applications....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 load from local disk while using GroupDocs. Watermarks Java API....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
This article explains how to save document to the same file or stream while using GroupDocs. Watermarks API....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...
Learn how to generate page previews (thumbnails) of documents using GroupDocs.Comparison for Python via .NET....Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...
The SaveOptions class provides the following properties to customize the saving process:
AnnotationTypes defines annotation types to be saved into output document; FirstPage defines the first page number to save specific page range; LastPage defines the last page number to save specific page range; OnlyAnnotatedPages indicates whether to save only annotated pages or not. For details, see the following pages:...Watermark Product Solution GroupDocs.Editor Product Solution GroupDocs...