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....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Metadata Product Family...
Learn more about Document comparison sensitivity and how to adjust it to achieve best performance and accuracy when compare Documents with GroupDocs.Comparison for Java....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Comparison Product Family...
The IndexRepository class can be used to combine several indexes into a group for searching all indexes at once....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Search Product Family /...
Follow this guide and learn how to implement custom cache implementation when Document with GroupDocs.Conversion for Java API....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Conversion Product Family...
free trial api version for redaction is available to evaluate the API which will be similar as licensed but with few limitations....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Redaction Product Family...
In this article, you will learn how to convert CAD Documents to other formats or another CAD format with GroupDocs.Conversion for Java....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Conversion Product Family...
Create dynamic tables in Documents by iterating over collections and displaying data in table rows using GroupDocs.Assembly for .NET....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Assembly Product Family...
Following code snippet shows how to add text watermark to a Document. If the Document consists of multiple parts (pages, worksheets, slides, frames etc), the watermark will be added to all of them.
advanced_usage.adding_text_watermarks.AddTextWatermark
// Specify an absolute or relative path to your image. Ex: "C:\\Docs\\image.png" Watermarker watermarker = new Watermarker("image.png"); // Initialize the font to be used for watermark Font font = new Font("Arial", 19, FontStyle.Bold | FontStyle.Italic); // Create the watermark object TextWatermark watermark = new TextWatermark("Test watermark", font); // Set watermark properties watermark....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Watermark Product Family...
A convenient text extractor API that permits users to extract raw or formatted text from different Document formats. Besides, it is not only a text extractor API, the user can extract metadata from the Document as well....Us Contact Customers Legal Security Events Acquisition Ask AI...AI GroupDocs Documentation / GroupDocs.Parser Product Family /...