Question Change Font Size for only one word in string

mutlyp

Member
Joined
Oct 11, 2012
Messages
8
Programming Experience
10+
Hello,
I was wondering if there was a way to change the font or even make bold one word in the middle of a string?
So like you do in HTML with:
<Bold>Hello<Bold/> World
Is there a way to do that in VB.net in window forms?
Thank you
 
Presumably this is for display purposes. The only control that supports that natively is the RichTextBox, which supports RTF, which is something like HTML in that the text contains the data and the markup. If you want to display the text some other way then you'll have to look at more complex methods of doing so, e.g. GDI+.
 
Back
Top