Following this guide you will learn how to change Word Document page orientation to Portrait or Landscape using GroupDocs.Merger for .NET....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Merger Product...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of presentations such as PPT, PPTX, POTM, POTX, etc. For the full list of supported presentation formats please refer to Supported Document formats.
Detecting the exact type of a presentation The following sample of code will help you to detect the exact type of a loaded presentation and extract some additional file format information.
Load a presentation Extract the root metadata package Use the getPresentationType method to obtain file format information advanced_usage....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
The page describes how to add text field annotation to a Document programmatically using GroupDocs.Annotation for Java....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Annotation Product...
Reorder pages when rendering Documents to PDF with GroupDocs.Viewer for Java...Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Viewer Product...
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....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Redaction Product...
The following example demonstrates how to save the redacted Document, replacing an original file:
// Make a copy of sample file Files.copy(new File("Sample.docx").toPath(), new File("OverwrittenSample.docx").toPath(), StandardCopyOption.REPLACE_EXISTING); // Apply redaction final Redactor redactor = new Redactor("OverwrittenSample.docx"); try { RedactorChangeLog result = redactor.apply(new ExactPhraseRedaction("John Doe", new ReplacementOptions(java.awt.Color.RED))); if (result.getStatus() != RedactionStatus.Failed) { SaveOptions options = new SaveOptions(); options.setAddSuffix(false); options.setRasterizeToPDF(false); // Save the Document in original format overwriting original file redactor.save(options); } } finally { redactor....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Redaction Product...
Learn how to extract text highlights (context snippets) from Documents using GroupDocs.Parser for Python via .NET. Extract text with surrounding context for search results and previews....Editor Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Parser Product...
This article explains how to separately extract data from Documents and add the extracted data to the index....Editor Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Search Product...
This sections contains explanation about various electronic signature visual appearances on Document page....Editor Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...