GroupDocs.Watermark library provides the ability to manipulate different Watermark types such as TextWatermark, ImageWatermark. These Watermarks could be added to documents, updated, removed, or searched inside already Watermarked documents. Our product also provides information about document type and structure - file type, size, page count, etc. and generates document page previews based on provided options.
Here are the main GroupDocs.Watermark API concepts:
Watermarker is the main class that contains all the required methods for manipulating document Watermarks....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
GroupDocs.Watermark for Java supports the following Watermark types.
TextWatermark ImageWatermark Adding Watermark to any supported document format using GroupDocs.Watermark consists of some easy steps. Following are the steps to add a Watermark to a document.
Load the document Create and initialize Watermark object Set Watermark properties Add a Watermark to the document Save the document For more details please refer to the following guides:...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark 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:...Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
This example demonstrates how to load a password-protected document.
advanced_usage.loading_files.LoadPasswordProtectedDocument
// Specify the password LoadOptions loadOptions = new LoadOptions(); loadOptions.setPassword("123"); // Constants.ProtectedDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" try (MetadataMetadata = new Metadata(Constants.ProtectedDocx, loadOptions)) { // Extract, edit or remove Metadata here } More resources 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...
Lets try to know about what is redaction or what does redacted mean. The redaction is the editing a document for the purpose to remove or hide the confidential or sensitive information....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
For all supported image formats the GroupDocs.Metadata API allows extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root Metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.ImageReadFileFormatProperties
using (MetadataMetadata = new Metadata(Constants.InputPng)) { var root = Metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } More resources 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...
This article shows how to save the modified content to the underlying source in Java....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...
For all supported image formats the GroupDocs.Metadata API allows extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root Metadata package Use the getImageType method to obtain file format information advanced_usage.managing_Metadata_for_specific_formats.image.ImageReadFileFormatProperties
try (MetadataMetadata = new Metadata(Constants.InputPng)) { ImageRootPackage root = Metadata.getRootPackageGeneric(); System.out.println(root.getImageType().getFileFormat()); System.out.println(root.getImageType().getByteOrder()); System.out.println(root.getImageType().getMimeType()); System.out.println(root.getImageType().getExtension()); System.out.println(root.getImageType().getWidth()); System.out.println(root.getImageType().getHeight()); } More resources 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...
Key features of GroupDocs.Conversion for Python via .NET — 10,000+ format pairs, page selection, load/convert options, Watermarks, document inspection, and AI-pipeline integration....Metadata Product Solution GroupDocs...Product Solution GroupDocs.Watermark Product Solution GroupDocs...