Last updated on November 10, 2020 by Usman Aziz
Blog Home

Manipulate Metadata Properties in Documents with All-New GroupDocs.Metadata for .NET

Share on Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin

We have a major update for our customers who are using our metadata manipulation API – GroupDocs.Metadata for .NET. We have revamped the architecture of the API to improve and simplify the process of reading, updating, searching or removing the metadata properties from the documents. So let’s take a tour of version 19.11.

Why do you need to upgrade?

You should upgrade to the latest release because:

  • The Metadata class is introduced as a single entry point to manage metadata in all supported formats.
  • Extracting and updating metadata has been unified for all supported formats.
  • The product architecture has been redesigned from scratch in order to simplify the most common operations with metadata properties.
  • The process of getting document information and preview generation has been simplified.

How to migrate?

All public types of the legacy API have been moved from the GroupDocs.Metadata namespace to the GroupDocs.Metadata.Legacy namespace. Furthermore, all the legacy types have been marked as obsolete and will be removed in future releases.

Once you upgrade to the latest release, you will have to do the project-wide replacement of GroupDocs.Metadata. namespace with the GroupDocs.Metadata.Legacy. to successfully build your solution.

Comparison of Coding Styles

Since the API has gone under the major updates, the classes/properties/methods and the way they are used has also been changed. The following is the code comparison of some common metadata operations. This will give you an overview of how things have changed.

Finding Metadata using Regular Expressions

The following code samples retrieve metadata from a file using a regular expression.

Legacy API

v19.11 or Later

Replacing Metadata using Regular Expressions

The following code samples show how to replace metadata properties using a regular expression.

Legacy API

v19.11 or Later

For more details, please have a look at the migration notes.

You can download and evaluate the source code examples of the latest release from the GitHub repository. For more details about every feature of the API, please visit the documentation. In case you find something difficult for you, feel free to contact us via our free support forum.


This entry was posted in GroupDocs.Metadata Product Family and tagged API, document properties, dotnet, GroupDocs.Metadata for .NET Releases, Metadata, metadata management. .

← Add Point Annotation in Documents using .NET and Java API
Compare two documents – Control header and footer comparison in C# →
  • Search

  • Follow Us

    RSS Facebook Twitter YouTube LinkedIn

  • Categories

    • GroupDocs.Total Product Family
      (6)
    • GroupDocs.Viewer Product Family
      (101)
    • GroupDocs.Annotation Product Family
      (72)
    • GroupDocs.Conversion Product Family
      (83)
    • GroupDocs.Comparison Product Family
      (60)
    • GroupDocs.Signature Product Family
      (60)
    • GroupDocs.Assembly Product Family
      (49)
    • GroupDocs.Metadata Product Family
      (70)
    • GroupDocs.Search Product Family
      (45)
    • GroupDocs.Parser Product Family
      (43)
    • GroupDocs.Watermark Product Family
      (36)
    • GroupDocs.Editor Product Family
      (18)
    • GroupDocs.Merger Product Family
      (37)
    • GroupDocs.Redaction Product Family
      (14)
    • GroupDocs.Classification Product Family
      (4)
    • News Release
      (3)