This topic describes how to optimize spreadsheets in a Pdf file using the GroupDocs.Viewer .NET API (C#)....Comparison Product Solution GroupDocs...documents / Render to PDF / Optimize the output PDF file / Optimize...
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....Comparison Product Solution GroupDocs...metadata in PDF documents Working with metadata in PDF documents...
This article explains how to protect a signed Pdf document....Comparison Product Solution GroupDocs...protect a signed PDF document How to protect a signed PDF document Leave...
This topic describes how to optimize Pdf file using the GroupDocs.Viewer .NET API (C#) for web browser or to reduce size....Comparison Product Solution GroupDocs...Render to PDF / Optimize the output PDF file / Optimize a PDF file...
Learn how to merge images to Pdf file, combine images into one Pdf file programmatically in C# language using GroupDocs.Merger for .NET library....Comparison Product Solution GroupDocs...images to PDF using C# How to merge images to PDF using C# Leave...
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<PdfRootPackage>(); 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....Comparison Product Solution GroupDocs...metadata in PDF documents Working with metadata in PDF documents...
This article demonstrates that how you can specify starting page index (zero based) and the number of pages from this index to save a rasterized Pdf...Comparison Product Solution GroupDocs...rasterized PDF Select specific pages for rasterized PDF Leave feedback...
This topic describes how to use the GroupDocs.Viewer Java API to convert Pdf files to HTML, PNG, and JPEG formats....Comparison Product Solution GroupDocs...rendering basics / Render PDF documents Render PDF documents as HTML...
Optimize Pdfs for faster browser display using GroupDocs.Viewer. Reduce load times and improve user experience....Comparison Product Solution GroupDocs...Render to PDF / Optimize the output PDF file / Optimize a PDF file...
This article explains how to add attachment to Pdf document with GroupDocs.Merger within your Java applications....Comparison Product Solution GroupDocs...attachment to PDF document How to add attachment to PDF document Leave...