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.... It can be an estimated word count, page count, character...
This article explains how to sign document with Text electronic signatures using extended options with GroupDocs.Signature API.... To sign PDF, Word, Excel, PowerPoint, and other...
Learn how to extract images from documents using GroupDocs.Parser for Python via .NET. Extract images with position data, rotation, and format information from PDF, Word, Excel....document formats including PDF, Word, Excel, PowerPoint, and more...
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.... It can be an estimated word count, page count, character...
Learn how to save an edited Word document with a passWord or change the output document format using GroupDocs.Editor for Node.js via Java....Guide / Edit Document / Edit Word Document / Output Format and...WordProcessing format. In other words, WordProcessingSaveOp specify...
Merge specific pages from multiple documents using API with GroupDocs.Merger. Create tailored, unified documents effortlessly....Begin by loading the source Word document using the Merger class...
Converting the attached HTML to PDF does work fine, but the result does not look too good.
In the converted PDF, the first 3 columns get wrapped, which we would like to prevent somehow:
image.jpg (227.7 KB)
We made se…...text without spaces, so default word-wrapping does not work. The...
Follow this guide and learn how to convert between email formats (MSG, EML, EMLX) and customize attachment processing using GroupDocs.Conversion for .NET....options ); } // ✅ Convert email to Word document using ( var converter...
This article explains how to implement custom serialization for Metadata electronic signatures....You are welcome to eSign PDF, Word, Excel, PowerPoint documents...
Discover how to utilize GroupDocs.Metadata for Python via .NET to extract, update and remove metadata in your applications....common document statistics like word count and character count for...