Why To Migrate? Here are the key reasons to use the new API provided by GroupDocs.Metadata for .NET starting from version 19.11:
The* Metadata* class is introduced as a single entry point to manage metadata in files of all supported formats. Extracting and updating metadata was unified for all supported formats. The product architecture was redesigned from scratch in order to simplify most common operations with metadata properties. Getting document information and preview generation procedures were simplified.... Extracting and updating metadata was...collections of properties extracted from different files. Old...
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....format-specific properties to extract or edit metadata System . out...
This example demonstrates how to load a file of a particular format using GroupDocs.Metadata for Python via .NET....format-specific properties to extract or edit metadata print ( f...
Render documents to HTML, PDF, PNG, or JPEG; Extract text; list attachments; and apply rotations, reorders, and watermarks with GroupDocs.Viewer for Python via .NET.... You can still extract a text layer separately if...end dates. Text extraction You can opt to extract document text...
Learn how to Extract, diff, and export document metadata across revisions using GroupDocs.Metadata for Java....Metadata capability for Java that extracts and diffs document metadata...two Office Open XML files, extract every built‑in and custom metadata...
For all supported image formats the GroupDocs.Metadata API allows Extracting common image properties such as width and height, MIME type, byte order, etc. Please see the code snippet below for more information on the feature.
Load an image Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.ImageReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputPng)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); 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); } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...Images / Extracting Common Image Information Extracting Common...GroupDocs.Metadata API allows extracting common image properties such...
Download from GitHub The complete examples package of GroupDocs.Assembly is hosted on Github. You can either download the ZIP file from here or clone the repository of Github using your favorite Github client.
In case you download the ZIP file, Extract the folders on your local disk. The Extracted files and folders will look like following image:
Open Eclipse and import the project to get started with it. Archived project file can also be imported....file, extract the folders on your local disk. The extracted files...
Learn how to run C# examples which contain removing metadata from photos, adding metadata to photos, removing metadata from pdf, adding metadata to various formats and many more examples....file, extract the folders on your local disk. The extracted files...