GroupDocs.Metadata for .NET 24.6 Release Notes

Major Features

There are the following features, enhancements, and fixes in this release:

  • Implement FileType.FromExtension method
  • Copy method with support tag

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
METADATANET-4066Develop copy method with support tagNew Feature
METADATANET-4065Implement FileType.FromExtension method in public APINew Feature

Public API and Backward Incompatible Changes

Implement the ability to configure cache for heavy operations

Public API changes

The FromExtension method has been added to the FileType class

Use cases

Copy metadata properties from source file to destination file by tag

using (Metadata source = new Metadata("D:\source.pdf"))
using (Metadata destination = new Metadata("D:\destination.pdf"))
{

	var count = source.CopyTo(destination.GetRootPackage(), new List<PropertyTag> { Tags.Person.Creator });
	Console.WriteLine(count);
	
}

Use FileType.FromExtension method

Console.WriteLine(GroupDocs.Metadata.Common.FileType.FromExtension(".dwg"))