I have a combo box with a selection of fonts you can choose from. But I cannot figure out how to switch the fonts without selecting size and other options. I want to simply change the family while leaving everything else as is.
this.myFont.fon t = new Font(FontFamily .GenericSerif,1 2,FontStyle.Ita lic)
This is the only way I have been able to do it but since I have other controls that change style and size I do not want to have to get that info from those controls and pass it to this control. I would rather have this just swap the family like my bold and other controls.
this.myFont.Fon t = new Font(myFont.Fon t, FontStyle.Bold)
Thanks
this.myFont.fon t = new Font(FontFamily .GenericSerif,1 2,FontStyle.Ita lic)
This is the only way I have been able to do it but since I have other controls that change style and size I do not want to have to get that info from those controls and pass it to this control. I would rather have this just swap the family like my bold and other controls.
this.myFont.Fon t = new Font(myFont.Fon t, FontStyle.Bold)
Thanks
Comment