How to add a red line to the text box (for example, bad spelling in Word)?

How can we produce a red line effect under the wrong spelling word, as the image below:

alt text http://img505.imageshack.us/img505/7253/options285x395rg9.th.png

Update

I do not want to use Google or any other spell program. I would like to know how to create a red line effect.

+4
source share
4 answers

You can do this using RichTextBox , which allows you to set the underline style and emphasize color on any part of the text,

And here the example does exactly what you want to do.

+5
source

This page shows how the owner draws a TextBox to draw a wavy red line.

0
source

You can use rich editing features and methods to draw wavy lines. For more information, visit this site: http://geekswithblogs.net/pvidler/archive/2003/10/15/188.aspx

0
source

Source: https://habr.com/ru/post/1277540/


All Articles