This code snippet demonstrates how to extract information about known properties that can be encountered in a particular package.
Load a file to examine Get a collection of PropertyDescriptor instances for any desired metadata package Iterate through the extracted descriptors advanced_usage.GettingKnownPropertyDescriptors
try (Metadata metadata = new Metadata(Constants.InputDoc)) { WordProcessingRootPackage root = metadata.getRootPackageGeneric(); for (PropertyDescriptor descriptor : root.getDocumentProperties().getKnowPropertyDescriptors()) { System.out.println(descriptor.getName()); System.out.println(descriptor.getType()); System.out.println(descriptor.getAccessLevel()); for (PropertyTag tag : descriptor.getTags()) { System.out.println(tag); } System.out.println(); } } Note Not all possible properties are presented in the getKnowPropertyDescriptors collection....Watermark Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Gif.GifReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputGif)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); 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); } Working with XMP Metadata GroupDocs....Watermark Product Solution GroupDocs...to view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This article explains that how to extract HTML formatted text from document page in Java....Watermark Product Solution GroupDocs...welcome to extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
It supports DOCX, DOCM, DOC, DOT, DOTM, XLS, XLSX, Pdf, PPT, JPG, PNG, HTML, EML and many more....Watermark Product Solution GroupDocs...Filters Saves the document as PDF (Adobe Portable Document) format...
This article shows how to check supported file formats....Watermark Product Solution GroupDocs...welcome to extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
This topic explains how to search for digital electronic signatures across the documents with GroupDocs.Signature API....Watermark Product Solution GroupDocs...powerful free online apps. To sign PDF, Word, Excel, PowerPoint, and...
This article explains how to save signed Presentation documents with various file formats by GroupDocs.Signature API....Watermark Product Solution GroupDocs...Apps. You are welcome to eSign PDF, Word, Excel, PowerPoint documents...
This article describes the image search options that can be specified in an instance of the ImageSearchOptions class....Watermark Product Solution GroupDocs...welcome to search over your PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX...
Compare Markdown (.md) files and detect differences in content, formatting, and structure using GroupDocs.Comparison for Python via .NET....Watermark Product Solution GroupDocs...— render the diff to HTML or PDF. — process Markdown diffs programmatically...