Overview of GroupDocs.Redaction for Node.js via Java — redact documents on-premise through the Java API bridged into Node.js....md . Also process documents locally...
The simplest way to save the document is it provide no parameters to Save method. In this case the document will be rasterized to PDF and will have the same name as the original one except its extension (.PDF). The PDF file will be overwritten.
The following example demonstrates usage of Save() method with default options.
const redaction = require('@groupdocs/groupdocs.redaction'); const redactor = new redaction.Redactor('sample.docx'); try { // Here we can use document instance to perform redactions redactor....md . Also process documents locally...
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:
const redaction = require('@groupdocs/groupdocs.redaction'); const loadOptions = new redaction.LoadOptions('mypassword'); const redactor = new redaction.Redactor('protected_sample.docx', loadOptions); try { // Here we can use document instance to perform redactions redactor.apply(new redaction.ExactPhraseRedaction('John Doe', new redaction.ReplacementOptions('[personal]'))); redactor.save(); } finally { redactor.close(); }...md . Also process documents locally...
Open Navigation Close Navigation Products GroupDocs.Total Product Family GroupDocs.Conversion Product Solution GroupD......md . Also process documents locally...
Open Navigation Close Navigation Products GroupDocs.Total Product Family GroupDocs.Conversion Product Solution GroupD......md . Also process documents locally...
This article explains how to detect document file type and calculate pages count when merge PDF, Word(DOC, DOCX), Excel(XLS, XLSX), PowerPoint(PPT, PPTX) files with GroupDocs.Merger....md . Also process documents locally...