Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Fri Jan 14, 2011 3:20 am

Hello,
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.
THANKS!

moonsky
 
Posts: 9
Joined: Mon Dec 13, 2010 7:39 am

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("http://www.e-iceblue.com");
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: 240
Joined: Tue Dec 21, 2010 2:56 am

Return to Spire.Doc

cron