This example demonstrates how to load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
// Explicitly specifying the format of a file to load you can spare some time on detecting the format LoadOptions loadOptions = new LoadOptions(FileFormat.Spreadsheet); // Constants.InputXls is an absolute or relative path to your document. Ex: @"C:\Docs\source.xls" try (Metadata metadata = new Metadata(Constants.InputXls, loadOptions)) { SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); // Use format-specific properties to extract or edit metadata System....Assembly Product Solution GroupDocs...
Reading BMP header properties The GroupDocs.Metadata API supports extracting format-specific information from BMP file headers.
The following are the steps to read the header of a BMP file.
Load a BMP image Get the root metadata package Extract the native metadata package using BmpRootPackage.BmpHeader Read the BMP header properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Bmp.BmpReadHeaderProperties
using (Metadata metadata = new Metadata(Constants.InputBmp)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.BmpHeader.BitsPerPixel); Console.WriteLine(root.BmpHeader.ColorsImportant); Console.WriteLine(root.BmpHeader.HeaderSize); Console.WriteLine(root.BmpHeader.ImageSize); Console.WriteLine(root.BmpHeader.Planes); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Assembly Product Solution GroupDocs...
GroupDocs.Markdown for Python via .NET provides free technical support available to all users. Please report your question, issue, or feature request using GroupDocs Free Support Forum....Assembly Product Solution GroupDocs...
GroupDocs.Markdown for .NET provides free technical support available to all users. Please report your question, issue, or feature request using GroupDocs Free Support Forum....Assembly Product Solution GroupDocs...
Learn this article and check how to load and convert password-protected documents using GroupDocs.Conversion for .NET API....Assembly Product Solution GroupDocs...
Report issues, ask questions, and request features for GroupDocs.Conversion for Python via .NET through the free support forum, paid helpdesk, or the GitHub examples repository....Assembly Product Solution GroupDocs...
GroupDocs.Editor for Python via .NET provides free technical support available to all users. Please report your question, issue, or feature request using the GroupDocs Free Support Forum....Assembly Product Solution GroupDocs...
Entdecken Sie, was es Neues in **GroupDocs.Parser** für .NET 25.12 gibt. Jetzt verfügbar auf NuGet und der GroupDocs‑Website.... Direkter Download – Assemblies für .NET und .NET Framework...
Rendering files to PDF with GroupDocs.Viewer for Python via .NET. It means that you can embed PDF in websites or applications by using this .NET API...Assembly Product Solution GroupDocs...