You might need to save a document to any custom file at any location on the local disc or a even a Stream.
The following example demonstrates how to save a document to any location.
final Redactor redactor = new Redactor("Sample.docx"); try { // Here we can use document instance to perform redactions RedactorChangeLog result = redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions(java.awt.Color.RED))); if (result.getStatus() != RedactionStatus.Failed) { // Save the document to a custom location and convert its pages to images final FileOutputStream fileStream = new FileOutputStream("C:\\\\Temp\\\\sample_output_file....fileStream = new FileOutputStream ( "C:\\\\Temp\\\\sample_output_file...
This article explains how to load PDF, Word, Excel, PowerPoint documents from URL when using GroupDocs.Conversion for .NET.... Combine ( @"c:\output" , "converted.pdf" );...
When using a foreach loop, that encloses a drawn line, the line is only shown on the first iteration of the loop. Which is where it shows in the template. Is there a way to get the line to be shown for each iteration?... There’s a C# project in the zip file. A template...
The page describes how to rotating the PDF document pages using GroupDocs.Annotation for .NET API....page by 90 degrees clockwise: C# using ( Annotator annotator =...
This example demonstrates how to load a file from a stream.
advanced_usage.loading_files.LoadFromStream
// Constants.InputDoc is an absolute or relative path to your document. Ex: @"C:\Docs\source.doc" try (InputStream stream = new FileInputStream(Constants.InputDoc)) { try (Metadata metadata = new Metadata(stream)) { // Extract, edit or remove metadata here } } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:
GroupDocs.Metadata for .... Ex: @"C:\Docs\source.doc" try ( InputStream...
This article explains how to load custom fonts PDF, Word, Excel, PowerPoint documents when using GroupDocs.Comparison for .NET....fonts and compare documents: C# using GroupDocs.Comparison ;...
This article explains how to disable image comparison in PDF documents as a built in feature in GroupDocs.Comparison for .NET....comparison in PDF documents: C# using GroupDocs.Comparison ;...