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...
GroupDocs Blog - GroupDocs Blog | Document Automation Solutions for .NET & Java Developers...latest version allows you to extract the tables from PDF documents...have added the support of extracting text and metadata from text...
GroupDocs Blog - GroupDocs Blog | Document Automation Solutions for .NET & Java Developers...providing the support of extracting formatted text from CHM documents...allows you to extract text by pages and extract table of content...
Learn how to detect file types of items within containers using GroupDocs.Parser for Python via .NET....None : print ( "Container extraction not supported" ) else : #...None : print ( "Container extraction not supported" ) return {}...
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...
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...
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 getImageType method to obtain file format information advanced_usage.managing_metadata_for_specific_formats.image.ImageReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputPng)) { ImageRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getImageType().getFileFormat()); System.out.println(root.getImageType().getByteOrder()); System.out.println(root.getImageType().getMimeType()); System.out.println(root.getImageType().getExtension()); System.out.println(root.getImageType().getWidth()); System.out.println(root.getImageType().getHeight()); } 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...
GroupDocs Blog - GroupDocs Blog | Document Automation Solutions for .NET & Java Developers...the latest version, you can extract metadata from Matroska Multimedia...latest version allows you to extract metadata from password-protected...
Advanced GroupDocs.Metadata for Python via .NET techniques: loading and saving options, property management, interpreted values, and the EXIF, IPTC, and XMP metadata standards.... — extract property values and export...properties. Loading files Extracting metadata Removing metadata...