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...
Apply text and image watermarks in bulk while ensuring safe re-run execution with GroupDocs.Watermark for .NET....thousands of documents—PDFs, Word files, presentations, and spreadsheets—on...
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...
GroupDocs.Metadata Product Family on GroupDocs Blog | Document Automation Solutions for .NET & Java Developers Recent content in GroupDocs.Metadata Product Family on GroupDocs Blog | Document Autom...... In other words, it’s an information which...the password-protected PDF, Word, Excel, and PowerPoint documents...
GroupDocs.Metadata for .NET 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 FileType property to obtain file format information AdvancedUsage.... It can be an estimated word count, page count, character...
Set up a virtual environment, install groupdocs-watermark-net, and run three minimal examples — add a text watermark, add an image watermark, and read document info — in under five minutes....we stamp a logo image onto a Word document. add_image_watermark...
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...