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(); }...Signature Product Solution GroupDocs.Assembly 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....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to load from stream while using GroupDocs. Watermarks Java API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to remove password for PDF, Word, Excel, PowerPoint documents by using GroupDocs.Merger for .NET....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to load a document from Amazon S3 Storage with GroupDocs.Viewer within your Java applications....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
The SaveOptions class provides the following properties to customize the saving process:
AnnotationTypes defines annotation types to be saved into output document; FirstPage defines the first page number to save specific page range; LastPage defines the last page number to save specific page range; OnlyAnnotatedPages indicates whether to save only annotated pages or not. For details, see the following pages:...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This section explains GroupDocs.Conversion for .NET convert options specific to various document types...Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
The page describes how to add components to a document using GroupDocs.Annotation API....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This documentation sections describe how to customize document conversion process - convert specific document pages, apply watermarks etc. when using GroupDocs.Conversion for .NET....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...
This article explains how to load PDF, Word, Excel, PowerPoint documents from local disk when using GroupDocs.Merger for .NET....Signature Product Solution GroupDocs.Assembly Product Solution GroupDocs...