Adding comment in Word Document

Technical support for Spire.Doc

Moderator: iceblue support

Adding comment in Word Document

Postby moonsky » Fri Jan 14, 2011 3:20 am

Once I wrote something in a Word document and I added a comment for a paragraph to give futher introduction. But now I want to add another comment to the exist one for showing the author name. My query is how can I do this with Spire.XLS.
Posts: 9
Joined: Mon Dec 13, 2010 7:39 am

Re: Adding comment in Word Document

Postby iceblue support » Mon Jan 17, 2011 11:04 am

Thank you for your inquiry. You can set the author of the comment by assigning the Format.Author property. You can follow the codes below: Comment comment1 = paragraph.AppendComment("");
comment1.Format.Initial = "HH";
paragraph.AppendText(", the free encyclopedia)");
comment1.Format.Author = "Harry Hu";
Here Harry Hu is an example for you.
e-iceblue support
User avatar
iceblue support
Posts: 244
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests