' For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
' initialize PngFormat
Dim pngFormat As New PngFormat(Common.MapSourceFilePath(filePath))
' get XMP data
Dim xmpProperties As XmpProperties = pngFormat.GetXmpProperties()
If xmpProperties IsNot Nothing Then
' show XMP data
For Each key As String In xmpProperties.Keys
Dim xmpNodeView As XmpNodeView = xmpProperties(key)
Console.WriteLine("[{0}] = {1}", xmpNodeView.Name, xmpNodeView.Value)
Next
Else
Console.WriteLine("No XMP data found.")