开发者

C# and MS Word , range.font.bold doesn't work

I wand to bold a range on MS Word do开发者_JAVA百科cument using C#. The code is :

Range.Font.Bold=1;

When I look at the documnet I see that the bold button is on but the text is not bold.

The same probalem appear when I use Selection method .

Any idea?


I believe it's -1 and not 1

http://social.msdn.microsoft.com/Forums/en-ZA/vsto/thread/ec35e23b-22a5-4ffa-95cc-2d5b90d86dd2

Range.Font.Bold = -1;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜