.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

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -