Load from local disc Groupdocs.redaction.Redactor class is a main class in Redaction API, providing functionality to open a document. When document is located on the local disk, you can pass its path to *Redactor *class constructor.
The following example demonstrates how to open a document from local disc:
final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor.apply(new DeleteAnnotationRedaction()); redactor.save(); } finally { redactor....Merger Product Solution GroupDocs.Redaction Product Solution GroupDocs...GroupDocs Documentation / GroupDocs.Redaction Product Family / GroupDocs...
Releases on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in Releases on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers GroupDo......NET & Java Developers GroupDocs.Redaction for .NET 25.9 – 2025年9月發佈說明...2025年9月發佈說明 GroupDocs.Redaction for .NET 25.9 在2025年9月發佈的最新修正與更新...
Load from Stream As an alternative to a local file, Redactor can open a document from stream.
The following example demonstrates how to load and redact a document using Stream:
final FileInputStream stream = new FileInputStream("sample.docx"); try { final Redactor redactor = new Redactor(stream); try { // Here we can use document instance to make redactions redactor.apply(new DeleteAnnotationRedaction()); redactor.save(); } finally { redactor.close(); } } finally { stream.close(); }...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...
This article shows that how C# developers can apply metadata, image, annotation and text redaction in their documents. Wide range of document formats is supported, such as, PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX and others....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 خان......Watermark GroupDocs.Redaction Releases خانواده محصولات...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 Гру......Watermark GroupDocs.Redaction Випуски GroupDocs.Comparison...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......Watermark产品系列 GroupDocs.Redaction Releases GroupDocs.Comparison...Merger Product Family GroupDocs.Redaction Product Family GroupDocs...