Change Label FontStyle at Runtime
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, There is a Label control and I want to change its FontStyle (Bold, Italic, ...) at Runtime. But Font.Bold and Font.Italic are read-only properties. How can I do it? regards, Mehdi.
label1.Font = new Font(label1.Font, FontStyle.Bold);
orlabel1.Font = new Font(label1.Font, FontStyle.Italic);
Roger Stewart "I Owe, I Owe, it's off to work I go..."