The simplest way to save the document is it provide no parameters to Save method. In this case the document will be rasterized to PDF and will have the same name as the original one except its extension (.PDF). The PDF file will be overwritten.
The following example demonstrates usage of Save() method with default options.
final Redactor redactor = new Redactor("sample.docx"); try { // Here we can use document instance to perform redactions redactor....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
Retrieve and save attachments from emails, Outlook files, archives, and PDFs....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
Following this guide you will learn how to change Word document page orientation to Portrait or Landscape using GroupDocs.Merger for Java....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
This article explains how to load password-protected PDF, Word, Excel, PowerPoint documents when using GroupDocs.Comparison for Node.js via Java....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
This article explains how to get only summary page when comparing documents with GroupDocs.Comparison for .NET....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
This article explains how to load PDF, Word, Excel, PowerPoint documents from stream when using GroupDocs.Merger for Java....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
This topic describes how to set image resolution in PDF file using the GroupDocs.Viewer Java API....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
This topic describes how to subset fonts in PDF file using the GroupDocs.Viewer Java API....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
This article explains how to get only a summary page when comparing documents with GroupDocs.Comparison for Node.js via Java....Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...
This example demonstrates how to load a password-protected document.
advanced_usage.loading_files.LoadPasswordProtectedDocument
JavaScript try { var loadOptions = new LoadOptions(); loadOptions.setPassword("123"); const metadata = new groupdocs.metadata.Metadata("protected.docx", loadOptions); } More resources Advanced usage topics To learn more about library features and get familiar how to manage metadata and more, please refer to theadvanced usage section.
GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Comparison Product Solution GroupDocs.Signature Product Solution GroupDocs...