Sprog
Member
I have a text that have both bold and regular text. If a user select a text that contains both of them, using:
it makes all regular. If i use
then it makes all bold.
How can i change only the font or size but the style remains the same???
VB.NET:
txtMain.SelectionFont = New Font(cmbFont.ControlText, cmbSize.SelectedItem)
VB.NET:
txtMain.SelectionFont = New Font(cmbFont.ControlText, cmbSize.SelectedItem, FontStyle.Bold Or FontStyle.Regular)
How can i change only the font or size but the style remains the same???