S
Sudip_inn
Guest
This way i select font style and size. here is screen shot
just see i choose font style Bold Oblique and select size 16 but font dialog returning style as FontStyle -> Bold, Italic
and size as FontSize -> 15.75
i use font dialog this way
FontDialog fontDlg = new FontDialog();
string fontstyle = fontDlg.Font.Style.ToString();
FontName = fontDlg.Font.Name;
FontSize = fontDlg.Font.Size.ToString();
what is wrong in my code for which font dialog returning wrong font size and style? please tell me what to change in my code?
thanks
Continue reading...
just see i choose font style Bold Oblique and select size 16 but font dialog returning style as FontStyle -> Bold, Italic
and size as FontSize -> 15.75
i use font dialog this way
FontDialog fontDlg = new FontDialog();
string fontstyle = fontDlg.Font.Style.ToString();
FontName = fontDlg.Font.Name;
FontSize = fontDlg.Font.Size.ToString();
what is wrong in my code for which font dialog returning wrong font size and style? please tell me what to change in my code?
thanks
Continue reading...