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 (MetadataMetadata = 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 Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
This code snippet demonstrates how to extract information about known properties that can be encountered in a particular package....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
This API allows you to redact, hide, or remove private contents in any type of file format using C# .NET language on any platform....Metadata Product Family GroupDocs.Search...C# Remove Metadata from RTF using C# Remove Metadata from PPTX...
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 (MetadataMetadata = 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...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
The following example demonstrates how to load file from local disk....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...
Discover ways to view and edit MP3 Metadata. Either edit MP3 Tags online or do it programmatically using C# & Java....files by viewing and editing metadata MP3 tags online. Discover...a simple task using online metadata editing apps. Let’s accomplish...
This code snippet demonstrates how to extract information about known properties that can be encountered in a particular package.
Load a file to examine Get a collection of PropertyDescriptor instances for any desired Metadata package Iterate through the extracted descriptors advanced_usage.GettingKnownPropertyDescriptors
try (MetadataMetadata = new Metadata(Constants.InputDoc)) { WordProcessingRootPackage root = Metadata.getRootPackageGeneric(); for (PropertyDescriptor descriptor : root.getDocumentProperties().getKnowPropertyDescriptors()) { System.out.println(descriptor.getName()); System.out.println(descriptor.getType()); System.out.println(descriptor.getAccessLevel()); for (PropertyTag tag : descriptor.getTags()) { System.out.println(tag); } System.out.println(); } } Note Not all possible properties are presented in the getKnowPropertyDescriptors collection....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Java...
Quick Start section for GroupDocs.Metadata API Manage Metadata in your documents fast and easy with our intuitive and powerful API just with a few lines of code.
Let’s review common usage scenarios when documents are stored in a local drive and you want to manage them using GroupDocs.Metadata API....Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for Python...
This API allows you to redact, hide, or remove private contents in any type of file format using Java language on any platform....Metadata Product Family GroupDocs.Search...Java Remove Metadata from RTF using Java Remove Metadata from PPTX...
This article shows how to save a document to a specified location on a local disk...Metadata Product Solution GroupDocs...GroupDocs.Metadata Product Family / GroupDocs.Metadata for .NET...