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...
Learn how to parse and Extract structured data from documents using template-based Extraction with GroupDocs.Parser for .NET. Extract invoice data, tables, and fields in C#....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...
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...
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...
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 example demonstrates how to load a password-protected document using GroupDocs.Metadata for Python via .NET....load_options ) as metadata : # Extract, edit or remove metadata here...