S
Sakharam Phapale
Hi All,
I am using a richTextBox control for text editing purpose. I have written
following procedure which change the font style of richTextBox.
Dim f as font = rtbData.selectionFont()
rtbData.SelectionFont = New Font(f, f.Style + (IIf(f.Bold, FontStyle.Bold
* -1, FontStyle.Bold)))
Using above code I am able to preserve old font style while changing style
like Bold.
But, How to change the font name and size property.
Thanks in advance
Sakharam Phapale
I am using a richTextBox control for text editing purpose. I have written
following procedure which change the font style of richTextBox.
Dim f as font = rtbData.selectionFont()
rtbData.SelectionFont = New Font(f, f.Style + (IIf(f.Bold, FontStyle.Bold
* -1, FontStyle.Bold)))
Using above code I am able to preserve old font style while changing style
like Bold.
But, How to change the font name and size property.
Thanks in advance
Sakharam Phapale