Font.SizeInPoints

  • Thread starter Thread starter Big E
  • Start date Start date
B

Big E

I'm using VB.net. I change a users Font size when they highlight text and
click a button.
It makes the Font 2 sizes smaller. Problem is that when I'm done making it
smaller I can't get the text after the selection to go back to the original.
I'm using Font.SizeinPoints and multiplying times .8 to decrease the size.
but when I try and increase the size it says Font.SizeinPoints is readonly?

Any ideas?
 
* "Big E said:
I'm using VB.net. I change a users Font size when they highlight text and
click a button.
It makes the Font 2 sizes smaller. Problem is that when I'm done making it
smaller I can't get the text after the selection to go back to the original.
I'm using Font.SizeinPoints and multiplying times .8 to decrease the size.
but when I try and increase the size it says Font.SizeinPoints is readonly?

You will have to create a new 'Font' object and assign it to the
property.
 
Back
Top