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....you can spare some time on detecting the format LoadOptions loadOptions...
Learn how to load specific file formats manually using LoadOptions in GroupDocs.Parser for .NET. Required for Markdown, MHTML, databases, and remote email files in C#....document text // Markdown is detected; text without special symbols...
Hello,
I have attached a .zip file containing some files (1x .htm, 2x .pdf) - using .NET 9 and GroupDocs.Conversion 25.4.0 - none of these file convert. Their Format is also not detected correctly when using .GetDocumen…... Their Format is also not detected correctly when using .GetDocumentInfo()...
Learn about GroupDocs.Assembly advanced usage and its multiple powerful features from the guides below....Document Changing Automatically Detected Types of DocumentTable Columns...
Objevte nové funkce, vylepšení a opravy chyb v GroupDocs.Viewer for .NET UI 8.1.1, vydaném v září 2025....hot reload could mistakenly detect cache updates and refresh the...
Discover the new features, improvements, and bug fixes in GroupDocs.Viewer for .NET UI 8.1.1, released in September 2025....hot reload could mistakenly detect cache updates and refresh the...
In this article, you will laern how to scan QR Code from DOCM using C#. A code example will be provided to extract QR Code from DOCM in C# without using extra tool....specifically focusing on QR codes detected in the DOCM file Finally,...
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....document text // Markdown is detected; text without special symbols...
Learn how to obtain a collection of detected changes using GroupDocs.Comparison for Python via .NET....lets you query the list of detected changes after a comparison...
Learn this article and check how to load and convert Email documents with advanced options using GroupDocs.Conversion for Java API....the document type is auto-detected during loading, however, you...