Microsoft Word - How do I remove the word "comment" from the comment box in ms word?

Asked By az shah on 18-Nov-12 03:43 PM
How do I remove the word "comment" from the comment box in ms word?
White Ashlin replied to az shah on 19-Nov-12 03:28 AM
Use below code by this .NET Word component:http://www.codeproject.com/Catalogs/3773/Spire-Doc-for-NET.aspx

        //Create word document
        Document doc = new Document();
        doc.LoadFromFile(@"E:\Sample.doc");
        Comment c = doc.Comments[0];
        doc.Comments.Remove(c);
        //Save doc file.
        doc.SaveToFile("Sample.doc",FileFormat.Doc);