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 of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
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 of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...
GroupDocs.Parser provides the functionality To open the password-protected documents.
The following are the steps To work with password protected documents.
Instantiate the LoadOptions object; Set password in LoadOptions(String) construcTor; Create Parser object and call any method. The following code sample shows how To process password protected documents.
try { String password = "123456"; // Create an instance of Parser class with the password: try (Parser parser = new Parser(Constants.SamplePassword, new LoadOptions(password))) { // Check if text extraction is supported if (!...data from PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, Emails and more...
Learn how To extract text from Pdf, Word, Excel, PowerPoint, and 50+ document formats using GroupDocs.Parser for .NET. Simple C# code examples for extract text from Pdf C# scenarios....allows to extract text from PDF, Emails, Ebooks, Microsoft Office...
The articles below explain that how To extract data from various file formats...Extract data from PDF documents Extract data from Emails Extract data...
Extract the metadata properties you need from files of different types with GroupDocs.Metadata for Python via .NET using tags, categories and property attributes....metadata of PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX, emails, images...