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....Conversion Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Metadata Product...
The page describes how to add arrow annotation to a Document using GroupDocs.Annotation for .NET....Conversion Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Annotation Product...
This article explains how to set custom fonts when rendering Documents with GroupDocs.Viewer within your Java applications....Conversion Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Viewer Product...
Adding watermark to all pages of a particular type Using GroupDocs.Watermark, you can add watermark to all pages of a particular type in a Document. It consists of following steps.
Load the Document Create and initialize watermark object Set watermark properties Add watermark by specifying page type using setPlacementType() method of DiagramShapeWatermarkOptions Save the Document Following code shows how to add watermark to a particular type of the pages....Conversion Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Watermark Product...
Following this guide you will learn how to load PDF, Word, Excel, PowerPoint Documents by local file path, stream or URL for further processing with GroupDocs.Merger for .NET API....Conversion Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Merger Product...
This article explains how to save edited Document in HTML form to folder at local disk using GroupDocs.Editor for Java features....Conversion Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Editor Product...
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....Conversion Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Editor Product...
This article shows that how to perform the operations on search results....Conversion Product Solution GroupDocs...Acquisition Ask AI GroupDocs Documentation / GroupDocs.Search Product...