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 ..../ Advanced Usage / Loading files / Load from a stream Load from...load a file from a stream. advanced_usage.loading_files.LoadFromStream...
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.../ Advanced Usage / Loading files / Load from a local disk Load...load a file from a local disk. advanced_usage.loading_files.LoadFromLocalDisk...
This article explains how to add text watermark when rendering documents with GroupDocs.Viewer within your JavaScript applications....docx" ) // Create an HTML file. const viewOptions = groupdocs...setWatermark ( watermark ); viewer . view ( viewOptions ) Was this page...
Adjust JPEG images quality when rendering documents to PDF with GroupDocs.Viewer for Java...reduces the size of the output file. To adjust images quality, call...setJpgQuality (( byte ) 50 ); viewer . view ( viewOptions ); } Was this...
The following example demonstrates how to load File from local disk..../ Advanced Usage / Loading files / Load from a local disk Load...example demonstrates how to load a file from a local disk. AdvancedUsage...
This article shows how to add metadata properties which is the most sophisticated feature of the GroupDocs.Metadata Python via .NET search engine...AddingMetadata Python def run (): files = os . listdir ( constants .... input_path ) for file in files : with gm . Metadata ( constants...
Rendering Files to PDF with GroupDocs.Viewer for Node.js via Java. It means that you can embed PDF in websites or applications by using this Java API... To render files to PDF, follow these steps:...a path to save the rendered file. Call the method of the object...
The Example in this article demonstrates that how to update metadata properties using a combination of criteria... Open a file to be updated Specify a predicate...Constants . inputPath ). forEach ( file => { var metadata = new groupdocs...
This article explains how to load a document from a Stream with GroupDocs.Viewer within your Java applications....stream without saving it as a file on a disk. You can use this...forEmbeddedResources (); viewer . view ( viewOptions ); } Please refer...