This example demonstrates how to load a file of some particular format.
advanced_usage.loading_files.LoadingFileOfSpecificFormat
// Explicitly specifying the format of a file to load you can spare some time on detecting the format LoadOptions loadOptions = new LoadOptions(FileFormat.Spreadsheet); // Constants.InputXls is an absolute or relative path to your document. Ex: @"C:\Docs\source.xls" try (Metadata metadata = new Metadata(Constants.InputXls, loadOptions)) { SpreadsheetRootPackage root = metadata.getRootPackageGeneric(); // Use format-specific properties to Extract or edit metadata System....format-specific properties to extract or edit metadata System . out...
Extract information about known properties available in a particular package using GroupDocs.Metadata for Python via .NET....example demonstrates how to extract information about known properties...package Iterate through the extracted descriptors advanced_usage...
Reading FLV header properties The GroupDocs.Metadata API supports Extracting format-specific information from the FLV file header.
The following are the steps to read the header of an FLV file.
Load an FLV video Get the root metadata package Extract the native metadata package using the FlvRootPackage.getHeader method Read the FLV header properties advanced_usage.managing_metadata_for_specific_formats.video.flv.FlvReadHeaderProperties
try (Metadata metadata = new Metadata(Constants.InputFlv)) { FlvRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getHeader().getVersion()); System.out.println(root.getHeader().hasAudioTags()); System.out.println(root.getHeader().hasVideoTags()); System.out.println(root.getHeader().getTypeFlags()); } Working with XMP metadata GroupDocs....Metadata API supports extracting format-specific information...the root metadata package Extract the native metadata package...
Learn how to run Java examples which contain creating a watermark, removing watermark, adding watermark to photos, removing watermark from photo and many more examples....file, extract the folders on your local disk. The extracted files...
We offer multiple solutions on how you can run GroupDocs.Editor examples, by building your own or using our back-end or front-end Java examples out-of-the-box....file, extract the folders on your local disk. The extracted files...
Download from GitHub The complete examples package of GroupDocs.Parser is hosted on GitHub. You can either download the ZIP file from here or clone the repository of GitHub using your favorite GitHub client.
In case you download the ZIP file, Extract the folders on your local disk. The Extracted files and folders will look like following image:
Open IntelliJ Idea and import the project to get started with it. Archived project file can also be imported....file, extract the folders on your local disk. The extracted files...
Reading DICOM metadata properties The GroupDocs.Metadata API supports Extracting format-specific information from DICOM images.
The following are the steps to read the native DICOM metadata.
Load a DICOM image Get the root metadata package Extract the native metadata package using DicomRootPackage.DicomPackage Read the DICOM metadata properties AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Dicom.DicomReadNativeMetadataProperties
using (Metadata metadata = new Metadata(Constants.InputDicom)) { var root = metadata.GetRootPackage(); if (root.DicomPackage != null) { Console.WriteLine(root.DicomPackage.BitsAllocated); Console.WriteLine(root.DicomPackage.LengthValue); Console.WriteLine(root.DicomPackage.DicomFound); Console.WriteLine(root.DicomPackage.HeaderOffset); Console.WriteLine(root.DicomPackage.NumberOfFrames); // ....Metadata API supports extracting format-specific information...the root metadata package Extract the native metadata package...
Reason to use a Document Conversion API The world is becoming a global village and businesses running all over the world interacting and collaborating with hundreds of institutions across the globe, the data gathered from different sources come in a number of different formats. Even the data arranged within an organization could be compiled in different formats depending upon the person or department gathering and maintaining it. You may also find yourself in a situation where the older files being used within the company may no longer be compatible with the company’s needs due to certain changes in company policies and software being used by it....initiatives, organizations must extract more valuable information and...