bita hekmat

bita hekmat

  • NA
  • 8
  • 3.2k

Change textbox font by string !

Apr 25 2015 7:28 AM
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)