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 TextWatermark watermark = new TextWatermark("Test watermark", font); // Set watermark properties watermark....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of WordProcessing documents such as DOC, DOCX, ODT, etc. For the full list of supported document formats please refer to Supported document formats.
Detecting the exact type of a document The following sample of code will help you to detect the exact type of a loaded document and extract some additional file format information.
Load a WordProcessing document Extract the root metadata package Use the getWordProcessingType method to obtain file format information advanced_usage....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
This article demonstrates how to convert PowerPoint presentations of PPT, PPTX, ODP to other formats with couple lines of C# code....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
This guide demonstrates how to edit PPT, PPTX, PPTM, PPSX, PPSM, POTX, POTM presentations with different settings and many other powerful features of GroupDocs.Editor for Java....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
First of all you need to create an index. An index can be created in memory or on disk. An index created in memory cannot be saved after exiting your program. In contrast, an index created on disk may be loaded in the future to continue working....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
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....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
This topic describes how to use the GroupDocs.Viewer .NET API to convert EBooks to HTML, PDF, PNG, and JPEG formats....Close Navigation Products GroupDocs.Total Product Family GroupDocs...
Fixing Invalid Form Fields and Saving the Document with GroupDocs.Editor for Node.js via Java...Close Navigation Products GroupDocs.Total Product Family GroupDocs...
This article explains how to sign document with Text electronic signatures using extended options with GroupDocs.Signature API....Close Navigation Products GroupDocs.Total Product Family GroupDocs...