Let’s review common usage scenarios when source document “sample.docx” is stored at a local drive and you want to apply redactions to it....Let’s review common usage scenarios when source document “sample.docx” is stored at a local drive and you want to apply redactions to it.
Saving a document with methods save(String) or save(OutputStream) of Watermarker class, GroupDocs.Watermark puts it to any custom location.
You can see examples of save() methods in one of these guides:...Saving a document with methods save(String) or save(OutputStream) of Watermarker class, GroupDocs.Watermark puts it to any custom location.
You can see examples of save() methods in one of these guides:
Find answers about converting documents and images of various types using code on any platform....Find answers about converting documents and images of various types using code on any platform.
The page describes how to load PDF, Word, Excel, PowerPoint documents from local disk using GroupDocs.Annotation for .NET....The page describes how to load PDF, Word, Excel, PowerPoint documents from local disk using GroupDocs.Annotation for .NET.
This section decsribes how to get started with GroupDocs.Editor for Node.js library...This section decsribes how to get started with GroupDocs.Editor for Node.js library
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:
const redaction = require('@groupdocs/groupdocs.redaction'); const stream = new FileInputStream('sample.docx'); try { const redactor = new redaction.Redactor(stream); try { // Here we can use document instance to make redactions redactor.apply(new redaction.DeleteAnnotationRedaction()); redactor.save(); } finally { redactor.close(); } } finally { stream....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:
const redaction = require('@groupdocs/groupdocs.redaction'); const stream = new FileInputStream('sample.docx'); try { const redactor = new redaction.Redactor(stream); try { // Here we can use document instance to make redactions redactor.apply(new redaction.DeleteAnnotationRedaction()); redactor.save(); } finally { redactor.close(); } } finally { stream.
Find answers about annotating digital documents and images of various types using code on any platform....Find answers about annotating digital documents and images of various types using code on any platform.
Load documents in Python apps with GroupDocs.Viewer. Explore practical use cases and examples....Load documents in Python apps with GroupDocs.Viewer. Explore practical use cases and examples.
This article contains document loading use-cases with GroupDocs.Viewer within your JavaScript applications....This article contains document loading use-cases with GroupDocs.Viewer within your JavaScript applications.