Skip to end of metadata
Go to start of metadata
Contents Summary
 

The code sample in below examples uses some methods defined in Working with Common Utilities.

Working with Comments in Microsoft Word Document

GroupDocs.Metadata for .NET also provides some basic operations related to comments in Word documents. Following are the API's supported features for comments.

Getting Document Comments

GroupDocs.Metadata also provides DocFormat.ExtractComments() function that gets all the comments in a .doc document.

Following code snippet displays all document comments.

Updating Document Comments

GroupDocs.Metadata also provides the ability to update document comments in Word document.

Following code snippet shows how to update comment.

Removing Document Comments

GroupDocs.Metadata also provides DocFormat.ClearComments() function that removes all the comments in a .doc document.

Following code snippet removes all document comments.

Download Sample Document

You can download sample document used in this article.

Following is the path of sample document used in code sample:

Labels
  • No labels