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....Order Upgrade an Order Support Docs API Reference Live Demos Free...view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX,...
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....Order Upgrade an Order Support Docs API Reference Live Demos Free...view and edit metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX,...
This article demonstrates that how you can specify starting page index (zero based) and the number of pages from this index to save a rasterized PDF...Order Upgrade an Order Support Docs API Reference Live Demos Free...various document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX,...
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....Order Upgrade an Order Support Docs API Reference Live Demos Free...welcome to extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX,...
This article shows how to get the basic Document info....Order Upgrade an Order Support Docs API Reference Live Demos Free...welcome to extract data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX,...
Easily perform Document conversion and learn the process to convert MHTML to HTML using C#. Also, learn how to implement the convert MHTML to HTML C# capability....MD, DOT, TEX, TIFF, CSV, PNG, DOC, and many more. We have discussed...
Easily extract Images from Word Document in C# in just a few lines of code and learn how to write code to develop the application for C# image extractor from Word....However, you can also provide a DOC format document for extracting...
This tutorial explains how to convert MHTML to PDF in Java. This article consists of steps and code to show the implementation to convert MHTML to PDF using Java.... including XLSX, TIFF, DOT, DOC, JPG, and many others. In this...
This article shows how to save the modified content to the underlying source....Order Upgrade an Order Support Docs API Reference Live Demos Free...path to your document. Ex: @"C:\Docs\test.ppt" using ( Metadata metadata...
This article shows that how to get the list of all supported file formats of GroupDocs.Redaction by using C#....Order Upgrade an Order Support Docs API Reference Live Demos Free...various document formats like PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX,...