.net - Programmatically remove or hide comments/track changes in Word 2007? -
I was thinking that this is possible? And if so how? This is a post by Eric White, which shows how to remove comments:
P>
Here is the code that he has published:
XName comment RangeStart = w + "commentRangeStart"; Comment of XNameRangeInd = w + "comment rangeand"; Exonym CommentaryReference = w + "Commentary Reward"; MainDocumentXDoc.Descendants (). Where (x => x.Name == comment RangeStart || x.Name == comment rangeline || x.Name == commentary reference). Remove ();
Comments
Post a Comment