Detecting the version of a PDF document The following sample of code will help you to detect the PDF version a loaded document and extract some additional file format information.
Load a PDF document Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Document.Pdf.PdfReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputPdf)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); } Reading built-in metadata properties To access built-in metadata of a PDF document, please use the DocumentProperties property defined in the DocumentRootPackage class....Assembly Product Solution GroupDocs.Metadata Product Solution GroupDocs...Documentation / GroupDocs.Metadata Product Family / GroupDocs.Metadata for...
Using the Groupdocs.metadata for Java you can easily search metadata and extract desired metadata properties from PDF, DOCX, PPTX, XLSX, images, audio, video and many other files of different types in your Java solution....Assembly Product Solution GroupDocs.Metadata Product Solution GroupDocs...Documentation / GroupDocs.Metadata Product Family / GroupDocs.Metadata for...
In the BitTorrent file distribution system, a torrent file or METAINFO is a computer file that contains metadata about files and folders to be distributed, and usually also a list of the network locations of trackers, which are computers that help participants in the system find each other and form efficient distribution groups called swarms. A torrent file does not contain the content to be distributed; it only contains information about those files, such as their names, sizes, folder structure, and cryptographic hash values for verifying file integrity....Assembly Product Solution GroupDocs.Metadata Product Solution GroupDocs...Documentation / GroupDocs.Metadata Product Family / GroupDocs.Metadata for...
This article explains how to access EXIF metadata in a file of any supported format, Groupdocs.metadata for Java provides the IExif.getExifPackage method....Assembly Product Solution GroupDocs.Metadata Product Solution GroupDocs...Documentation / GroupDocs.Metadata Product Family / GroupDocs.Metadata for...
Sometimes you may need to just remove all or clean metadata properties without applying any filters. The best way to do this is to use the Sanitize method....Assembly Product Solution GroupDocs.Metadata Product Solution GroupDocs...Documentation / GroupDocs.Metadata Product Family / GroupDocs.Metadata for...
This artcle explains how to remove all or clean metadata properties without applying any filters. The best way to do this is to use the Sanitize method....Assembly Product Solution GroupDocs.Metadata Product Solution GroupDocs...Documentation / GroupDocs.Metadata Product Family / GroupDocs.Metadata for...
This article shows how to save the modified content to the underlying source....Assembly Product Solution GroupDocs.Metadata Product Solution GroupDocs...Documentation / GroupDocs.Metadata Product Family / GroupDocs.Metadata for...
Groupdocs.metadata for .NET provides functionality that allows handling the most popular email message formats: EML and MSG. The following are some commonly used scenarios of working with the message content and metadata.
Reading EML message metadata The EML message format is used by many email clients including Novell GroupWise, Microsoft Outlook Express, Lotus notes, Windows Mail, Mozilla Thunderbird, and Postbox. The files contain the email contents as plain text in MIME format, containing the email header and body, including attachments in one or more of several formats....Assembly Product Solution GroupDocs.Metadata Product Solution GroupDocs...Documentation / GroupDocs.Metadata Product Family / GroupDocs.Metadata for...