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 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...
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...
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...