This article explains the ability of the GroupDocs.Redaction API to get the general document information, which includes FileType, PageCount and FileSize....This article explains the ability of the GroupDocs.Redaction API to get the general document information, which includes FileType, PageCount and FileSize.
This article demonstrates that how to save the document as a rasterized PDF file...This article demonstrates that how to save the document as a rasterized PDF file
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(); }...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(); }
Learn how to run all Java examples for GroupDocs.Redaction. Step-by-step guide to clone the repository, install dependencies, and execute all examples using Maven....Learn how to run all Java examples for GroupDocs.Redaction. Step-by-step guide to clone the repository, install dependencies, and execute all examples using Maven.
POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac......POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac...
POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac......POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac...
POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac......POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac...
POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac......POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in POTM on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDocs.Redac...
Open Navigation Close Navigation Products GroupDocs.Total Product Family GroupDocs.Viewer Product Solution GroupDocs.......Open Navigation Close Navigation Products GroupDocs.Total Product Family GroupDocs.Viewer Product Solution GroupDocs....