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....Search Product Solution GroupDocs...uses the GroupDocs.Metadata search engine to retrieve all properties...
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....Search Product Solution GroupDocs...uses the GroupDocs.Metadata search engine to retrieve all properties...
Learn how to extract Text from PDF using Python. This guide walks through setup and code needed to extract text from PDF in Python without installing extra software....Search Product Family GroupDocs.Parser...compliance, healthcare records, or search indexing. Viewer library offers...
Learn this article and check how to convert JPG, PNG, TIFF and other images into various file formats with several lines of Java code...Search Product Solution GroupDocs... , , , , , , , , Web: , , , Word Processing: , , , , , , , ,...
Learn this article and check how to convert JPG, PNG, TIFF and other images into various file formats with several lines of Java code...Search Product Solution GroupDocs... , , , , , , , , Web: , , , Word Processing: , , , , , , , ,...
Note This feature is supported by version 19.8 or greater. Note The code uses some of the objects defined in The Business Layer. Markdown Documents (MD) Markdown is a lightweight markup language intended for one purpose, to be used to format text on the web with plain text formatting syntax. Let it be clear that Markdown is not a replacement for HTML because its syntax is very small, containing a very small subset of HTML tags....Search Product Solution GroupDocs...write and edit prose. In other words we can say that HTML is a publishing...
Այս հոդվածն օգնում է ձեզ փոխակերպել Word փաստաթուղթը HTML-ի՝ օգտագործելով C#: Ստեղծեք HTML DOCX-ից՝ օգտագործելով C#՝ հետևելով քայլ առ քայլ ուղեցույցին և կատարեք փաստաթղթերի փոխակերպում:...Search Product Family GroupDocs.Parser...Product Family Ինչպես փոխարկել Word փաստաթուղթը HTML-ի, օգտագործելով...
Remove any set of pages from the PDF files in Java. Delete list of pages, any given range, even or odd pages from PDF files within applications....Rearrange PDF Pages in Java WordSearch and Replace Text in PDF in...
Hi, everyone! We’ve recently released a new version of the Java document viewer - GroupDocs.Viewer for Java version 2.3 - and would like to discover its new features and enhancements in this article. GroupDocs.Viewer for Java is an HTML5-based document viewer library designed to make it easy for developers to integrate into their Java apps. The viewer supports more than 50 document and image types, including PDF, Microsoft Word, Excel, PowerPoint, AutoCAD, Visio, etc....types, including PDF, Microsoft Word, Excel, PowerPoint, AutoCAD...ScrollView=Scroll Vertical Search=Pesquisa Size=Tamanho Thumbs=Miniaturas...