Is there any way through which I can change the position of underline? I want to move it below the default position where it appears by using .SelUnderline.
Printable View
Is there any way through which I can change the position of underline? I want to move it below the default position where it appears by using .SelUnderline.
The difficulty of doing this will depend on which control you want to do it with
Is it a Text Box ? A RTF Document file ?
Best explain in detail, as suggested what you are REALLY trying to do
I would approach the problem simply by forgetting about the ACTUAL underline facility, and simply use the LINE DRAWING capability in VB
The actual width you want to underline (say its a couple of words) can be easily calculated by moving the words to an invisible label (of the same font) and checking the Label.Width property to give you the width of the words you want to DRAW under
I am using rtf control for regional language. When i underline, the underline passes through some of the letters. I want to move it a little bit downward so that it does not pass through words.
Post some screen shots - the answer may be simply to use a different font
These days, I almost never see the underline character anywhere except when an Internet link is specified
If you look above you will see the links above the words "REPLY to THREAD"
notice how the underline cuts through the letters in "Changing the position of underline"
Becomes "Changing the position of underline" so the "g" and the 'p' are chopped off - is this what you mean ??
Yeah, thats what i meant. i want to position underline below so that it do not cut through g and y
Then you're going against couple of hundred years of tradition. Underlines are always flush with the base line, so by definition, the underline goes through descenders. [Some notes on typography]
I want this for urdu editor. and in urdu underline comes below all the letters
Here you go!
http://www.bbc.co.uk/urdu/fontinstall/popupwin.shtml