Problem in FontStyle property
-
Hi all, Is it possible to have a text's fontstyle property to Bold, Italic and underline at the same time. If yes then how????? Thanks in advance
Rana Krishnraj
The documentation says: This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values. So yes it is possible. :)
Luc Pattyn [Forum Guidelines] [My Articles]
Voting for dummies? No thanks. X|
-
Hi all, Is it possible to have a text's fontstyle property to Bold, Italic and underline at the same time. If yes then how????? Thanks in advance
Rana Krishnraj
the Coding Way: create a new Font(new FontFamily("Tahoma"), 12.75f); (for Example) and change what ever u want in it then assgin it to text's font property The Designer View Way : or Go To the component in the Design View and click on the Font Property then Cahnge What ever u Like
Have Fun Never forget it
-
the Coding Way: create a new Font(new FontFamily("Tahoma"), 12.75f); (for Example) and change what ever u want in it then assgin it to text's font property The Designer View Way : or Go To the component in the Design View and click on the Font Property then Cahnge What ever u Like
Have Fun Never forget it
ya that's correct. But if font have already Bold property set to true and now i want to set its italic property then resulted output text would have both Bold and italic property set to true, instead of only one that is either bold or italic. any way thanks for replying...I got the hint. let me do it
Rana Krishnraj
-
ya that's correct. But if font have already Bold property set to true and now i want to set its italic property then resulted output text would have both Bold and italic property set to true, instead of only one that is either bold or italic. any way thanks for replying...I got the hint. let me do it
Rana Krishnraj
-
Hi all, Is it possible to have a text's fontstyle property to Bold, Italic and underline at the same time. If yes then how????? Thanks in advance
Rana Krishnraj