"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote
when using StringBuilder to build-up a block of text (which is then assigned
to a Label control) is it possible to underline a portion of the text ?
it would seem that StringBuilder.AppendFormat() would provide this
capability, but I can't find documentation on the proper format specifier to
underline a string ...
if this is possible, could someone please provide an example? thanks.
At first glance, the underline has always been a property of the Font,
not of the string of characters. As far as I can tell, the formating for
AppendFormat also does not include Font information, only things
like the currency symbol, decimal point, number of digits to the right
of the decimal point, and so on....
Underline is a decoration applied only when you output the data to a
display device, like a screen or monitor, it is not a part of the character
data.
LFS