Learn how to load a password-protected file by using .NET redaction API...Merger Product Solution GroupDocs.Redaction Product Solution GroupDocs...GroupDocs Documentation / GroupDocs.Redaction Product Family / GroupDocs...
This article shows that how to get the list of all supported file formats of Groupdocs.redaction by using C#....Merger Product Solution GroupDocs.Redaction Product Solution GroupDocs...GroupDocs Documentation / GroupDocs.Redaction Product Family / GroupDocs...
This article shows that how to remove pages with sensitive data from your PDF, presentation and spreadsheet documents....Merger Product Solution GroupDocs.Redaction Product Solution GroupDocs...GroupDocs Documentation / GroupDocs.Redaction Product Family / GroupDocs...
This article shows how to pre-rasterize a document using the redaction API....Merger Product Solution GroupDocs.Redaction Product Solution GroupDocs...GroupDocs Documentation / GroupDocs.Redaction Product Family / GroupDocs...
This article explains the method which can be used when for some reason files have non-standard extensions or if its format is supported, but not pre-configured....Merger Product Solution GroupDocs.Redaction Product Solution GroupDocs...GroupDocs Documentation / GroupDocs.Redaction Product Family / GroupDocs...
Load password-protected file In order to open password-protected documents, you have to pass your password to LoadOptions class constructor or assign it to its Password property of an instance of LoadOptions class:
LoadOptions loadOptions = new LoadOptions("mypassword"); final Redactor redactor = new Redactor("protected_sample.docx", loadOptions); try { // Here we can use document instance to perform redactions redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions("[personal]"))); redactor.save(); } finally { redactor.close(); }...Merger Product Solution GroupDocs.Redaction Product Solution GroupDocs...GroupDocs Documentation / GroupDocs.Redaction Product Family / GroupDocs...
You might need to save a document to any custom file at any location on the local disc or a even a Stream.
The following example demonstrates how to save a document to any location.
final Redactor redactor = new Redactor("Sample.docx"); try { // Here we can use document instance to perform redactions RedactorChangeLog result = redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions(java.awt.Color.RED))); if (result.getStatus() != RedactionStatus.Failed) { // Save the document to a custom location and convert its pages to images final FileOutputStream fileStream = new FileOutputStream("C:\\\\Temp\\\\sample_output_file....Merger Product Solution GroupDocs.Redaction Product Solution GroupDocs...GroupDocs Documentation / GroupDocs.Redaction Product Family / GroupDocs...
Categories on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Categories on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Gro......Markdown Product Family GroupDocs.Redaction Releases GroupDocs.Metadata...Merger Product Family GroupDocs.Redaction Product Family GroupDocs...
Categories on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Categories on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Gro......Markdown Product Family GroupDocs.Redaction Releases GroupDocs.Metadata...Merger Product Family GroupDocs.Redaction Product Family GroupDocs...