2
Contributors
3
Replies
6
Views
6 Years
Discussion Span
Last Post by G_Waddell
0

Hi
Is it a particular word within a sentence? or just a label?

Label1.Font = New Font(Label1.Font, FontStyle.Underline)

You define a new font based on the old one i.e.

New Font(Label1.Font, FontStyle.Underline)

In otherwords the new font is based on the existing value but with underline

Edited by G_Waddell: more explaination

0

Actually it is a label but all I need to underline is a particular word within a sentence. But the whole sentence should be visible as well. Can you help me?

0

Hi,

As far as I'm aware, you can not have different formats inside the one label.. looks like you will need to use something else.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.