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...
Add text watermarks to rendered documents using GroupDocs.Viewer in your Python applications....Editor Product Solution GroupDocs...as viewer : # Create an HTML file. viewOptions = gvo . HtmlViewOptions...
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 for .NET API....Editor Product Solution GroupDocs...Call method and pass desired file path to save resultant document...
This article explains how to add password for PDF document with permissions using GroupDocs.Merger for .NET....Editor Product Solution GroupDocs...to it; Call method specifying file path to save resultant document...
Why to migrate Here are the key reasons to use the new updated API provided by GroupDocs.Watermark for .NET since version 19.5:
The Watermarker class is introduced as a single entry point to manage watermarks in the document (instead of Document class from previous versions). Adding watermarks was unified for all supported document formats. Product architecture was redesigned from scratch in order to simplify passing options to manage watermarks. Document information and preview generation procedures were simplified....Editor Product Solution GroupDocs...document information from the local file. Old API DocumentInfo documentInfo...
This article explains how to use PDF digital electronic signature features on document page....Editor Product Solution GroupDocs...signatureFont ); // sign document to file SignResult signResult = signature...
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...
GroupDocs.Search for Node.js supports the ability to remove indexed Files and folders from an index. Only Files or folders that were explicitly added to the index can be deleted....Editor Product Solution GroupDocs...indexed files and folders from an index. Only files or folders...
Note This feature is supported by version 19.5. or greater Note The code uses some of the objects defined in The Business Layer. GroupDocs.Assembly provides a great feature which is loading of HTML template documents referencing external resource Files to be assembled and saved to non-HTML formats. Since version 19.5, when loading an HTML document from a File, its containing folder is used as a base URI to resolve external resource Files’ relative URIs to absolute ones by default as shown in the following example....Editor Product Solution GroupDocs...Saving With External Resource Files / Loading of template documents...