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(); }...Editor Product Solution GroupDocs...As an alternative to a local file, Redactor can open a document...
This article demonstrates that how to save File in its original format with current date as a suffix...Editor Product Solution GroupDocs...example demonstrates how to save file in its original format with...
Follow this guide and learn how to remove page from PDF or Word document, delete worksheet from Excel File or remove slides from PowerPoint presentations with GroupDocs.Merger API....Editor Product Solution GroupDocs...Call method and pass desired file path to save resultant document...
This article explains how to add text watermark when rendering documents with GroupDocs.Viewer within your JavaScript applications....Editor Product Solution GroupDocs..."sample.docx" ) // Create an HTML file. const viewOptions = groupdocs...
This article demonstrates how to save specific page range when annotating documents using GroupDocs.Annotation for Java API....Editor Product Solution GroupDocs...setLastPage ( 4 ); // Save to file annotator . save ( outputPath...
Adjust JPEG images quality when rendering documents to PDF with GroupDocs.Viewer for Java...Editor Product Solution GroupDocs...reduces the size of the output file. To adjust images quality, call...
This article explains how to remove password for PDF, Word, Excel, PowerPoint documents by using GroupDocs.Merger for .NET....Editor Product Solution GroupDocs...method; Call method specifying file path to save resultant document...
How to migrate from earlier versions of GroupDocs.Merger for Java...Editor Product Solution GroupDocs...processing of any supported file format (instead of DocumentHander...
This article shows how to handle incorrect document password exception with GroupDocs.Signature API....Editor Product Solution GroupDocs...}; // try to sign document to file, we expect for PasswordRequiredExce...
This article explains how to provide advanced verification of QR-code electronic signatures with GroupDocs.Signature API....Editor Product Solution GroupDocs.... QR ); // sign document to file VerificationResult result =...