The following example demonstrates how to load a file from a local disk.
advanced_usage.loading_files.LoadFromLocalDisk
// Constants.InputOne is an absolute or relative path to your document. Ex: @"C:\Docs\source.one" try (Metadata metadata = new Metadata(Constants.InputOne)) { // Extract, edit or remove metadata here } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:
GroupDocs.Metadata for .NET examples
GroupDocs.Metadata for Java examples... InputOne )) { // Extract, edit or remove metadata here...
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 password-protected document.
advanced_usage.loading_files.LoadPasswordProtectedDocument
// Specify the password LoadOptions loadOptions = new LoadOptions(); loadOptions.setPassword("123"); // Constants.ProtectedDocx is an absolute or relative path to your document. Ex: @"C:\Docs\source.docx" try (Metadata metadata = new Metadata(Constants.ProtectedDocx, loadOptions)) { // Extract, edit or remove metadata here } More resources GitHub examples You may easily run the code above and see the feature in action in our GitHub examples:...ProtectedDocx , loadOptions )) { // Extract, edit or remove metadata here...
This article explains how to detect the document file type and calculate the number of pages when converting a file with GroupDocs.Conversion for Java....provides a consistent way to extract metadata from source documents...additional metadata can be extracted. Below are examples of how...
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...
We are pleased to announce the release of version 18.8 of GroupDocs.Parser for .NET. In this version, we have extended the support of text analysis API for spreadsheets, presentations and text documents. Furthermore, the latest version allows providing a password for protected documents on-demand. We’d recommend you to use the latest version of the API and share your feedback.
Features Introduced Text Analysis API GroupDocs.Parser allows Extracting text areas from the pages of a document....Parser allows extracting text areas from the pages...abstract class provides API to extract text areas from document pages...
A .NET API to manipulate metadata is being consumed as metadata viewer for CRUD operations. It helps developers to read, write, edit and remove meta information from all popular document file formats...Developer Guide BASICS USAGE Extract basic format information Search...