I am currently using the control System.Windows.Forms.WebBrowser to create an Wysiwyg editor in a windows application. Basically what I need is that the text does not exceed the width of the control, ie I do not want to use a horizonal scrollbar.
Is it possible?
[UPDATE]
this is the code for the moment I am running:
Reconocimiento.Navigate("about:blank"); //this is my object System.Windows.Forms.WebBrowser
Reconocimiento.Document.OpenNew(false);
string html = "<html><head><style type=\"text/css\">body {width: 400px;}</style></head><body></body></html>";
Reconocimiento.Document.Write(html);
recon = (Reconocimiento.Document.DomDocument) as IHTMLDocument2;
recon.designMode = "On"; //What we just did was make our web browser editable!