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....Redaction for Node.js / Developer Guide / Basic Usage...
# Extract text in Raw Mode Extract text in the fast Raw mode from a whole document or a single page with GroupDocs.Parser for Node.js via Java. GroupDocs.Parser provides the functionality to extrac......Parser for Node.js via Java. GroupDocs.Parser...
# Split document This guide describes how to split document of PDF, Word, Excel, PowerPoint and many other formats into several resultant documents using GroupDocs.Merger for Node.js via Java API. ......Merger for Node.js via Java API. [**GroupDocs...
Open Navigation Close Navigation Products GroupDocs.Total Product Family GroupDocs.Conversion Product Solution GroupD......Search for Node.js / Getting Started Getting Started...
GroupDocs.Metadata provides different ways to save a file with updated metadata.
Please refer to the following guides to know more about all overloads of the save method:...Metadata for Node.js / Developer Guide / Advanced...
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:
const redaction = require('@groupdocs/groupdocs.redaction'); const redactor = new redaction.Redactor('sample.docx'); try { // Here we can use document instance to perform redactions redactor....Redaction for Node.js / Developer Guide / Advanced...
The following example demonstrates how to save the document as a rasterized PDF file:
const redaction = require('@groupdocs/groupdocs.redaction'); const redactor = new redaction.Redactor(Constants.SAMPLE_DOCX); try { // Here we can use document instance to perform redactions redactor.apply(new redaction.ExactPhraseRedaction('John Doe', new redaction.ReplacementOptions('[personal]'))); const tmp0 = new redaction.SaveOptions(); tmp0.setAddSuffix(false); tmp0.setRasterizeToPDF(true); // Saving as rasterized PDF with no suffix in file name redactor.save(tmp0); } finally { redactor.close(); }...Redaction for Node.js / Developer Guide / Advanced...
Extract, search and analyze document text with GroupDocs.Parser for Node.js via Java: text modes, highlights, text areas, structure and formatted text....Parser for Node.js / Developer Guide / Advanced...