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....Comparison Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
Learn how to convert a XML Document to PDF using XSL-FO with GroupDocs.Conversion for .NET....Comparison Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Conversion Product...
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....Comparison Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
Extract, remove, and watermark worksheet backgrounds using Python via .NET....Comparison Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Watermark Product...
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
JavaScript const metadata = new groupdocs.metadata.Metadata("input.doc"); var root = metadata.getRootPackageGeneric(); var descriptors = root.getDocumentProperties().getKnowPropertyDescriptors(); for(var i=0;iComparison Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Metadata Product...
We will demonstrate how to convert RTF to TXT using C# without the need of third-party software. Moreover, we will provide code example to export RTF to TXT in C#....Comparison Product Family GroupDocs...installing the recommended document conversion library and making...
This page contains a description of all the properties of the IndexingOptions class...Comparison Product Solution GroupDocs...Events Acquisition GroupDocs Documentation / GroupDocs.Search Product...
This article explains how to create encrypted QR-code electronic signature...Comparison Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Signature Product...
Efficiently perform reverse image search using C# to find similar images. Learn how to implement reverse image search in C# for content-based image retrieval....Comparison Product Family GroupDocs... and separate images Add documents to the index folder with the...
Follow this guide and learn how to merge MS Excel spreadsheets using Java programming language....Comparison Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Merger Product...