Hello,
This is really hard to reproduce, so our wish is: Please take a look at the callstack and try to find out whether you know what the problematic method is and why something can be null there.
Repro:
Manually ex…... Repro: Manually extract lots of files In one step,...
This example demonstrates how to load a file from a stream.
advanced_usage.loading_files.LoadFromStream
// Constants.InputDoc is an absolute or relative path to your document. Ex: @"C:\Docs\source.doc" try (InputStream stream = new FileInputStream(Constants.InputDoc)) { try (Metadata metadata = new Metadata(stream)) { // 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 ....Metadata ( stream )) { // Extract, edit or remove metadata here...
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 shows how to Extract data from documents of various formats including PDF, Microsoft Word (DOC, DOCX), Excel (XLS, XLSX), LibreOffice formats etc....feature that allows you to extract data from documents of various...automation tasks with the data extracted from your documents. Using...
This article explains how to get a list of indexed documents from an index, and how to get the text of indexed documents in HTML or plain text format....indexed document can also be extracted from an index if the option...following example shows how to extract document text from an index...
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...