'For complete examples and data files, please go to https://github.com/groupdocsmetadata/GroupDocs_Metadata_NET
' initialize DocFormat
Dim docFormat As New DocFormat(Common.MapSourceFilePath(filePath))
'get comments...
Dim comments As DocComment() = docFormat.ExtractComments()
'get commnets by author...
'DocComment[] comments = docFormat.ExtractComments("USMAN");
' display comments
For Each comment As DocComment In comments
Console.WriteLine("Author: ", comment.Author)
Console.WriteLine("Created on Date: ", comment.CreatedDate)
Console.WriteLine("Initials: ", comment.Initials)
Console.WriteLine(vbLf)
Next