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....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.
This article demonstrates how to convert PowerPoint presentations of PPT, PPTX, ODP to other formats with couple lines of C# code....This article demonstrates how to convert PowerPoint presentations of PPT, PPTX, ODP to other formats with couple lines of C# code.
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....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.
This article shows how to access IPTC metadata in a file of any supported format....This article shows how to access IPTC metadata in a file of any supported format.
This article explains how to remove shape of any type from any level of document structure while using GroupDocs watermarking API...This article explains how to remove shape of any type from any level of document structure while using GroupDocs watermarking API
Why To Migrate? Here are the key reasons to use the new API provided by GroupDocs.Metadata for .NET starting from version 19.11:
The* Metadata* class is introduced as a single entry point to manage metadata in files of all supported formats. Extracting and updating metadata was unified for all supported formats. The product architecture was redesigned from scratch in order to simplify most common operations with metadata properties. Getting document information and preview generation procedures were simplified....Why To Migrate? Here are the key reasons to use the new API provided by GroupDocs.Metadata for .NET starting from version 19.11:
The* Metadata* class is introduced as a single entry point to manage metadata in files of all supported formats. Extracting and updating metadata was unified for all supported formats. The product architecture was redesigned from scratch in order to simplify most common operations with metadata properties. Getting document information and preview generation procedures were simplified.
This article gives knowledge on how to highlight search results in the text of a document....This article gives knowledge on how to highlight search results in the text of a document.