如何在Web浏览器控件中更改所选文本的颜色?

问题描述:

webBrowser1.Document.ExecCommand("FontColor", false, Color.Red);




它不起作用.....
如果我使用此代码进行编译,则表示它显示错误参数异常处理错误"
值不在预期范围内.




it does not working.....
if i compile with this code means it shows a error "Argument exception handled error"
Value does not fall within the expected range.

尝试使用StackOverFlow的此链接:转到第7个答案

http://stackoverflow.com/questions/2562297/c-sharp-webbrowser- control-not-applying-css [ ^ ]
Try this link of StackOverFlow: Go to 7th Answer

http://stackoverflow.com/questions/2562297/c-sharp-webbrowser-control-not-applying-css[^]