disabling font in MS Word

J

jayrm100

Hi,

I can set the font style and font size in my c# code using the
following statements

this.Content.Font.Bold = (int)FontStyle.Regular

this.content.font.size=25

When I enter the above code in MyDocument.cs and run the project, the
text I enter will be in bold and size 25 at runtime.But I can very well
undo this bold and change the size of the text in word.

But my requirement is that this change of font and size should be
disabled in word so that it remains the way it was set in the code

Can someone help me with this??

Thanks
 
Top