howto change Font.Size

  • Thread starter Thread starter # Cyrille37 #
  • Start date Start date
C

# Cyrille37 #

Hello,

Font.Size Property is readonly.
How can I change the Size of a Font ???

Thanks for your help
cyrille
 
Hello,

Font.Size Property is readonly.
How can I change the Size of a Font ???

Thanks for your help
cyrille

You can't change the size of an already created Font object. You have
to create a new Font object with the size you want and use it instead.

--
Stephan
2003 Yamaha R6

kimi no koto omoidasu hi
nante nai no wa
kimi no koto wasureta toki ga nai kara
 
You can't set only one font property you need to create new font object and
set it as a whole. The font constructors accept font prortotype, so you can
use the old font as a base and then tweek only one the size let say.
 
Back
Top