The answer for your other question,
To change the font style you need to look for Paragraph & Run properties.
create a Bold object, set its value false and add it before FontSize, in the code below
..........
RunProperties runProperties1 = new RunProperties();
RunStyle runStyle2 = new RunStyle() { Val = "Style1" };
FontSize fontSize2 = new FontSize() { Val = "22" };
FontSizeComplexScript fontSizeComplexScript1 = new FontSizeComplexScript() { Val = "18" };
// create Bold boldObj=new Bold(){ Val=false };
runProperties1.Append(runStyle2);
// add Bold object here.
runProperties1.Append(fontSize2);
...................
Thank you so much Pramod! I'll take a look and let you know. Owe you one!! :)
Got it all fixed Pramod. One last problem, i'm having a problem with the document, it's leaving a space after the list items. How can i get rid of that. That's the last problem i have. Can you please help. In the picture, see the blue lines?That's the spaces i wanna get rid of.
This is my updated code....attached!
I need some help with this thing Pramod...
Sure, I will look into this issue and get back to you.
Thank you very much!
Sorry for asking but, Can you please make it qiuck pramod?
Hi aroshlakshan,
I have fixed the extra space that was appearing between two lists. Attached the latest solution. Let me know if you need any more help.
I will. Thanks
Pramod, how can i stop the document from auto formatting the date of the document? I wanna set as date "02/02/2012" but when i pass that in to the document it for mats the date as "Saturday 02 February 2012 " How can i stop this and get the date formatting as 02/02/2012????