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...
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...
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...
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...
Learn how to merge images to Pdf file, combine images into one Pdf file programmatically in Java language using GroupDocs.Merger for Java library....Comparison Product Solution GroupDocs...images to PDF using Java How to merge images to PDF using Java...
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 article explains how to get the Pdf output file information using Java with GroupDocs.Viewer for Java....Comparison Product Solution GroupDocs.../ Get the PDF output file information Get the PDF output file...
This topic describes how to optimize Pdf file using the GroupDocs.Viewer Java API by removing the unused (orphaned) resources and thus to reduce the file size....Comparison Product Solution GroupDocs...to PDF / Optimize the output PDF file / Optimize the PDF file...