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....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<GifRootPackage>(); 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.
Learn how to merge image files, combine image files into one file programmatically in Python via .NET language using GroupDocs.Merger for Python via .NET library....Learn how to merge image files, combine image files into one file programmatically in Python via .NET language using GroupDocs.Merger for Python via .NET library.
Learn how to merge archive files, combine archive files into one file programmatically in Python via .NET language using GroupDocs.Merger for Python via .NET library....Learn how to merge archive files, combine archive files into one file programmatically in Python via .NET language using GroupDocs.Merger for Python via .NET library.
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;i
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....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.
This article explains how to set document password after files comparison within your Python applications using GroupDocs.Comparison for Python via .NET....This article explains how to set document password after files comparison within your Python applications using GroupDocs.Comparison for Python via .NET.
This guide explains how to install GroupDocs.Signature for Python via .NET to your environment...This guide explains how to install GroupDocs.Signature for Python via .NET to your environment
GroupDocs.Comparison is a cross-platform library that allows you to compare Microsoft Word, Excel, PowerPoint, OpenDocument, PDF, and plain text documents using C# and Java. Documentation GroupDocs.Comparison for .NET Getting Started Start quickly with our getting started documentation
Features Overview Supported Document Formats System Requirements Installation Developer Guide Guidelines and articles for basic and advanced development
Basic Usage Advanced Usage More GroupDocs.Comparison for Java Getting Started Start quickly with our getting started documentation...GroupDocs.Comparison is a cross-platform library that allows you to compare Microsoft Word, Excel, PowerPoint, OpenDocument, PDF, and plain text documents using C# and Java. Documentation GroupDocs.Comparison for .NET Getting Started Start quickly with our getting started documentation
Features Overview Supported Document Formats System Requirements Installation Developer Guide Guidelines and articles for basic and advanced development
Basic Usage Advanced Usage More GroupDocs.Comparison for Java Getting Started Start quickly with our getting started documentation