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....Search Product Solution GroupDocs.Parser Product Solution GroupDocs...
Extracting information about all shapes in an Excel document Search() method searches watermarks of all mentioned types, but in some cases, it’s necessary to analyze only one class of Excel objects. Following code sample shows how to get information about all the shapes in an Excel document.
advanced_usage.add_watermarks_to_spreadsheets.SpreadsheetGetShapesInformation
SpreadsheetLoadOptions loadOptions = new SpreadsheetLoadOptions(); // Specify an absolute or relative path to your document. Ex: @"C:\Docs\spreadsheet.xlsx" Watermarker watermarker = new Watermarker("spreadsheet....Search Product Solution GroupDocs.Parser Product Solution GroupDocs...
This article describes how to insert an edited worksheet into an existing spreadsheet using GroupDocs.Editor for Node.js....Search Product Solution GroupDocs.Parser Product Solution GroupDocs...
GroupDocs.Viewer for Java provides different plans for purchase or offers a Free Trial and a 30-day Temporary License for evaluation....Search Product Solution GroupDocs.Parser Product Solution GroupDocs...
This article explains how to add various types of Form Field signatures on document page with options on component positioning, alignment and other visual options with GroupDocs.Signature...Search Product Solution GroupDocs.Parser Product Solution 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....Search Product Solution GroupDocs.Parser Product Solution GroupDocs...
Working with search results consists in obtaining information from objects of search results and highlighting occurrences in the text of documents.
Obtain search result information When a search is complete, the search method returns an object of type SearchResult. This page describes the information available in an object of type SearchResult.
From the root object of the search result, information is available on the number of documents found, the number of occurrences of the words and phrases found, as well as detailed information on each individual document....Search Product Solution GroupDocs.Parser Product Solution GroupDocs...
This article gives the knowledge of the creation of faceted search queries using Java search API....Search Product Solution GroupDocs.Parser Product Solution GroupDocs...