GroupDocs.Metadata for .NET 23.10 Release Notes

Major Features

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

  • Add export metadata to xml file
  • Add ExportSetting class

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
METADATANET-4021Develop export to xml.Feature
METADATANET-4023Develop ExportOptions.Feature

Public API and Backward Incompatible Changes

Public API changes

The ExportOptions class has been added to the [groupdocs.metadata.export] (https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/) namespace The ExcelExportOptions class has been added to the [groupdocs.metadata.export] (https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/) namespace The XmlExportOptions class has been added to the [groupdocs.metadata.export] (https://reference.groupdocs.com/metadata/net/groupdocs.metadata.export/) namespace

Use cases

Export Pdf metadata in Xml

using (Metadata metadata = new Metadata("input.pdf"))
{
	using (MemoryStream stream = new MemoryStream())
	{
		ExportManager manager = new ExportManager(metadata.GetRootPackage());
		manager.Export(stream, ExportFormat.Xml, new XmlExportOptions());
	}
}

Export Pdf metadata in Excel

using (Metadata metadata = new Metadata("input.pdf"))
{
	using (MemoryStream stream = new MemoryStream())
	{
		ExportManager manager = new ExportManager(metadata.GetRootPackage());
		manager.Export(stream, ExportFormat.Xls, new ExcelExportOptions {GroupCells = true});
	}
}