GroupDocs.Search for Java supports the ability to remove indexed Files and folders from an index. Only Files or folders that were explicitly added to the index can be deleted....Merger Product Solution GroupDocs...indexed files and folders from an index. Only files or folders...
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....Merger Product Solution GroupDocs...and extract some additional file format information. a PDF document...
Learn how to render TXT as JPG using Python. This tutorial explains how to convert TXT to JPG in Python with customizable image dimensions for clear visual output....Merger Product Family GroupDocs.Redaction...JPG using Python Plain text files are commonly used to store simple...
Learn how to get the result document object model with GroupDocs.Comparison for Python via .NET...Merger Product Solution GroupDocs...object model after comparing files. To get the result document...
Following this guide you will learn how to customize document comparison report and modify the appearance of detected changes when using GroupDocs.Comparison for Node.js via Java....Merger Product Solution GroupDocs...following example compares two DOCX files from disk and applies custom...
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....Merger Product Solution GroupDocs...and extract some additional file format information. a PDF document...
Discover how to convert PDF to JPG using Python. This tutorial explains how to export PDF to JPG using Python for easier sharing, and streamlined workflows....Merger Product Family GroupDocs.Redaction...PDF page and save them as JPG files To convert PDF document into...
Learn this article and check how to load and convert CAD documents with advanced options using GroupDocs.Conversion for Java API....Merger Product Solution GroupDocs...handling and converting CAD files (such as DWG, DXF, and others)...
Learn how to get all sheet names in Excel using Python. This tutorial shows how to extract worksheet names from XLSX Files programmatically....Merger Product Family GroupDocs.Redaction...worksheet metadata from XLSX files without opening them manually...
This code snippet demonstrates how to extract information about known properties that can be encountered in a particular package.
Load a File to examine Get a collection of PropertyDescriptor instances for any desired metadata package Iterate through the extracted descriptors advanced_usage.GettingKnownPropertyDescriptors
try (Metadata metadata = new Metadata(Constants.InputDoc)) { WordProcessingRootPackage root = metadata.getRootPackageGeneric(); for (PropertyDescriptor descriptor : root.getDocumentProperties().getKnowPropertyDescriptors()) { System.out.println(descriptor.getName()); System.out.println(descriptor.getType()); System.out.println(descriptor.getAccessLevel()); for (PropertyTag tag : descriptor.getTags()) { System.out.println(tag); } System.out.println(); } } Note Not all possible properties are presented in the getKnowPropertyDescriptors collection....Merger Product Solution GroupDocs...encountered in a particular package. a file to examine Get a collection...