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 getPdfType method To obtain file format information advanced_usage.managing_metadata_for_specific_formats.document.pdf.PdfReadFileFormatProperties
try (Metadata metadata = new Metadata(Constants.InputPdf)) { PdfRootPackage root = metadata.getRootPackageGeneric(); System.out.println(root.getPdfType().getFileFormat()); System.out.println(root.getPdfType().getVersion()); System.out.println(root.getPdfType().getMimeType()); System.out.println(root.getPdfType().getExtension()); } Reading built-in metadata properties To access built-in metadata of a PDF document, please use the getDocumentProperties method defined in the DocumentRootPackage class....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
This article shows how To access XMP metadata in a file of any supported format....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
GroupDocs.Metadata for .NET provides functionality that allows working with different kinds of spreadsheet formats such as XLS, XLSX, ODS, etc. For the full list of supported document formats please refer To Supported Document Formats.
Detecting the exact type of a document The following sample of code will help you To detect the exact type of a loaded spreadsheet and extract some additional file format information.
Load a Spreadsheet document Extract the root metadata package Use the FileType property To obtain file format information AdvancedUsage....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
This article shows how To access IPTC metadata in a file of any supported format....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
This article explains that how To search text from documents....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, Emails and more with our free online...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of WordProcessing documents such as DOC, DOCX, ODT, etc. For the full list of supported document formats please refer To Supported document formats.
Detecting the exact type of a document The following sample of code will help you To detect the exact type of a loaded document and extract some additional file format information.
Load a WordProcessing document Extract the root metadata package Use the getWordProcessingType method To obtain file format information advanced_usage....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...
This article explains how To detect the document's file type and calculate the number of pages when converting a file with GroupDocs.Conversion for .NET....Conversion Product Solution GroupDocs...GroupDocs.Conversion Product Family / GroupDocs.Conversion for .NET...
GroupDocs.Metadata for Java provides functionality that allows working with different kinds of presentations such as PPT, PPTX, POTM, POTX, etc. For the full list of supported presentation formats please refer To Supported document formats.
Detecting the exact type of a presentation The following sample of code will help you To detect the exact type of a loaded presentation and extract some additional file format information.
Load a presentation Extract the root metadata package Use the getPresentationType method To obtain file format information advanced_usage....Conversion Product Solution GroupDocs...DOCX, PPT, PPTX, XLS, XLSX, emails, images and more with our free...