Greetings!
We’re pleased to announce a major update of the GroupDocs.Viewer for .NET library: version 2.0. This version of the document viewer has a lot of new features, improvements and bug fixes. You’ll find a complete list of updates and the new library itself here. In this and the next article, I’d like to take a closer look at the updates that I think you’ll be the most interested. So here we go:..., true) Watermarks # You can now add text watermarks to any document...document. For this, use the Watermark method when invoking GroupDocs...
This example demonstrates how to load a file from a stream.
advanced_usage.loading_files.LoadFromStream
JavaScript try { const fileStream = fs.createReadStream("input.one") const Metadata = new groupdocs.Metadata.Metadata(fileStream); } 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:...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
Following code snippet shows how to add text Watermark to a document. If the document consists of multiple parts (pages, worksheets, slides, frames etc), the Watermark will be added to all of them.
advanced_usage.adding_text_Watermarks.AddTextWatermark
// Specify an absolute or relative path to your image. Ex: "C:\\Docs\\image.png" Watermarker Watermarker = new Watermarker("image.png"); // Initialize the font to be used for Watermark Font font = new Font("Arial", 19, FontStyle.Bold | FontStyle.Italic); // Create the Watermark object TextWatermarkWatermark = new TextWatermark("Test Watermark", font); // Set Watermark properties Watermark....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
GroupDocs.Metadata for Java provides functionality that allows handling the most popular email message formats: EML and MSG. The following are some commonly used scenarios of working with the message content and Metadata.
Reading EML message Metadata The EML message format is used by many email clients including Novell GroupWise, Microsoft Outlook Express, Lotus notes, Windows Mail, Mozilla Thunderbird, and Postbox. The files contain the email contents as plain text in MIME format, containing the email header and body, including attachments in one or more of several formats....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This article shows how to save a document to a specified location on a local disk...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
The GroupDocs.Watermark allows to add repeated or tiled Watermarks to documents...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This example demonstrates how to load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
// Explicitly specifying the format of a file to load you can spare some time on detecting the format LoadOptions loadOptions = new LoadOptions(FileFormat.Spreadsheet); // Constants.InputXls is an absolute or relative path to your document. Ex: @"C:\Docs\source.xls" try (MetadataMetadata = new Metadata(Constants.InputXls, loadOptions)) { SpreadsheetRootPackage root = Metadata.getRootPackageGeneric(); // Use format-specific properties to extract or edit Metadata System....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This example demonstrates how to load a file of some particular format....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...