Comments from Word Dcoument - 01-08-2009 , 02:56 AM
How can I programmatically extra comments in a Word document from my .NET
I currently have code that looks something like this, but I have noticed
that the Comment object has every property (Author, Date, etc.) except for
the actual comment itself.
DocumentClass myDoc = (DocumentClass)axFramerControl1.ActiveDocument;
Comments comments = myDoc.Comments;
foreach (Comment comment in comments)
Re: Comments from Word Dcoument - 01-08-2009 , 05:49 AM
The comment itself is Comment.Range. You can use, say, the Text property of
the Range to extracty the Text from it - or other appropriate property
depending on the contents of the comment you expect, or are interested in.
"Stanley Tan" <st (AT) climate-edge (DOT) com> wrote
|Thread Tools||Search this Thread|