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...
This brief piece of writing provides guidance how to add watermark to excel worksheets using C# along with instructions and code to insert watermark in xlsx using C#....Merger Product Family GroupDocs.Redaction...class with the path of XLSX file Instantiate object of WatermarkAnnotation...
Let's understand the easy-to-use procedure to extract images from PDF in Java and learn how to write the code to extract images from PDF using Java....Merger Product Family GroupDocs.Redaction...allows you to load the input PDF file and the getImages method of...
This article contains caching use-cases with GroupDocs.Viewer within your JavaScript applications....Merger Product Solution GroupDocs...difference between rendering a file and getting the cached results:...
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
JavaScript const metadata = new groupdocs.metadata.Metadata("input.doc"); var root = metadata.getRootPackageGeneric(); var descriptors = root.getDocumentProperties().getKnowPropertyDescriptors(); for(var i=0;iMerger Product Solution GroupDocs...a particular package. Load a file to examine Get a collection...
This page describes how to compare two folders and find out which Files/folders were deleted, added or modified....Merger Product Solution GroupDocs...processing result in the resulting file are described below. Instantiate...
This page describes how to compare two folders and find out which Files/folders were deleted, added or modified....Merger Product Solution GroupDocs...processing result in the resulting file are described below. Instantiate...
This page describes how to remove annotations from document when collaborate, edit and annotate documents using GroupDocs.Annotation for Java....Merger Product Solution GroupDocs.... None ); // Save result to file annotator . save ( "outputPath"...
This article explains how to e-sign VBA macros in the excel document using .Net C# with GroupDocs.Signature API....Merger Product Solution GroupDocs...digitalVBA ); // sign document to file SignResult signResult = signature...
This article explains how to save document with password protection....Merger Product Solution GroupDocs...false }; // sign document to file signature . Sign ( "SignedProtected...