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....You are welcome to view and edit metadata of PDF, DOC, DOCX,...
Detecting the GIF version The following sample of code will help you to detect the version of a loaded GIF image and extract some additional file format information.
Load a GIF image Extract the root metadata package Use the FileType property to obtain file format information AdvancedUsage.ManagingMetadataForSpecificFormats.Image.Gif.GifReadFileFormatProperties
using (Metadata metadata = new Metadata(Constants.InputGif)) { var root = metadata.GetRootPackage(); Console.WriteLine(root.FileType.FileFormat); Console.WriteLine(root.FileType.Version); Console.WriteLine(root.FileType.ByteOrder); Console.WriteLine(root.FileType.MimeType); Console.WriteLine(root.FileType.Extension); Console.WriteLine(root.FileType.Width); Console.WriteLine(root.FileType.Height); } Working with XMP Metadata GroupDocs....You are welcome to view and edit metadata of PDF, DOC, DOCX,...
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;iedit metadata of PDF, DOC, DOCX,...
Locate and remove the metadata properties you don't want — by tag, category, name, type or value — with GroupDocs.Metadata for Python via .NET....You are welcome to view and edit metadata of PDF, DOC, DOCX,...
Learn how to add secure watermarks to Word documents using GroupDocs.Watermark for .NET. Compare 5 protection methods from basic to advanced with complete code examples....Double-click the header area to enter edit mode Select the watermark shape...AddLockedHeaderWater # Locked header + editable content ├── Resources/ # Input/output...
This article describes how to generate a preview for any page for the existing WordProcessing document in SVG format using the GroupDocs.Editor.../ Developer Guide / Edit document / Edit Word document / Generating...actually editing it. This preview cannot be edited by the GroupDocs...
Note In this article, we will use GroupDocs.Assembly to generate a Scatter Chart report in Email Document format. Scatter Chart in Microsoft PowerPoint Document Creating a Scatter Chart Please following below steps to create Scatter Chart in MS Outlook 2013:
Create a new Email. Click in the email where you want to insert the chart, click the “Insert” tab, and then click “Chart” in the illustrations group to open the “Insert Chart” dialog box.... Edit the Worksheet with your data...
Note In this article, we will use GroupDocs.Assembly to generate a Bubble Chart report in Presentation Document. Note The code uses some of the objects defined in The Business Layer. Bubble Chart in Microsoft PowerPoint Document Creating a Bubble Chart Please follow below steps to create Bubble Chart in MS PowerPoint 2013:
Add a new presentation slide, click the “Insert” tab, and then click “Chart” in the illustrations group to open the “Insert Chart” dialog box.... Edit the Worksheet with your data...
In this article you can find how to run examples. We offer multiple solutions on how you can run GroupDocs.Comparison examples, by building your own or using our back-end or front-end examples out-of-the-box....you can fork the repository, edit the source code and create a...