3
Answers

Change textbox font by string !

bita hekmat

bita hekmat

9y
872
1
Hi , i  have two form . form 1 and form 2 .
in form1 users can choice fonts with font dialog box
so i saved  font dialog box result in nvarchar field .and in form 2 i want to load font setting from Database.

my question is is:
How i can change  String type to font and use that .for example change textbox1 font by
sfont

  string sfont = "[Font: Name=Tahoma, Size=14.25, Units=3, GdiCharSet=0, GdiVerticalFont=False] "; 

Answers (3)