This article explains how to list and print file types supported by GroupDocs.Viewer for Java...Total Product Family GroupDocs.Conversion Product Solution GroupDocs...
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....Total Product Family GroupDocs.Conversion Product Solution GroupDocs...
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(); }...Total Product Family GroupDocs.Conversion Product Solution GroupDocs...
Extract, search and analyze document text with GroupDocs.Parser for Node.js via Java: text modes, highlights, text areas, structure and formatted text....Total Product Family GroupDocs.Conversion Product Solution GroupDocs...
Explore real-world scenarios for GroupDocs.Metadata for Node.js via Java, such as comparing document metadata across versions and extracting hidden properties....Total Product Family GroupDocs.Conversion Product Solution GroupDocs...
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(); }...Total Product Family GroupDocs.Conversion Product Solution GroupDocs...
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....Total Product Family GroupDocs.Conversion Product Solution GroupDocs...
GroupDocs.Parser provides API to extract a text from image files and non-text PDFs documents. The following articles describe how to use API to extract data and integrate any paid or free OCR solution to GroupDocs.Parser....Total Product Family GroupDocs.Conversion Product Solution GroupDocs...