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....Parser Product Solution GroupDocs.Merger Product Solution GroupDocs...
Note This feature is supported by version 18.2 or greater. Note The code uses some of the objects defined in The Business Layer. Working with Spreadsheet Documents GroupDocs.Assembly allows you to use data bands in table rows in Spreadsheet Documents. A table-row data band is a data band which body occupies single or multiple rows of a single document table. The body of such a band starts at the beginning of the first occupied row and ends at the end of the last occupied row as follows....Parser Product Solution GroupDocs.Merger Product Solution GroupDocs...
This article explains how to save signed Presentation documents with various file formats by GroupDocs.Signature API....Parser Product Solution GroupDocs.Merger Product Solution GroupDocs...
Compare Markdown (.md) files and detect differences in content, formatting, and structure using GroupDocs.Comparison for Python via .NET....Parser Product Solution GroupDocs.Merger Product Solution GroupDocs...
Learn this article and check how to load and convert Email documents with advanced options using GroupDocs.Conversion for Java API....Parser Product Solution GroupDocs.Merger Product Solution GroupDocs...
This article explains how to provide advanced search for Form Field electronic signatures with GroupDocs.Signature API....Parser Product Solution GroupDocs.Merger Product Solution GroupDocs...
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;iGroupDocs.Merger Product Solution GroupDocs...
In some cases it’s required to specify the document format manually to guarantee correct output produced by GroupDocs.Parser. The following are the cases when the document format must be specified manually:
Markdown documents MHTML documents OTP documents (OpenDocument Presentation Template) Databases Emails from remote servers Here are the steps to specify the document format for Markup document.
Instantiate the LoadOptions object and pass the document format in LoadOptions(FileFormat) constructor; Create Parser object and call any method....Parser Product Solution GroupDocs.Merger Product Solution GroupDocs...