By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,478 Members | 1,374 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,478 IT Pros & Developers. It's quick & easy.

howto change Font.Size

P: n/a
Hello,

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

Thanks for your help
cyrille
Jun 15 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
You can specify font size in constructor

"# Cyrille37 #" <cy*******@free.fr> wrote in message
news:ep*************@TK2MSFTNGP02.phx.gbl...
Hello,

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

Thanks for your help
cyrille

Jun 15 '06 #2

P: n/a
On Fri, 16 Jun 2006 00:56:02 +0200, # Cyrille37 # <cy*******@free.fr>
wrote:
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
Jun 15 '06 #3

P: n/a
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.
--
HTH
Stoitcho Goutsev (100)

"# Cyrille37 #" <cy*******@free.fr> wrote in message
news:ep*************@TK2MSFTNGP02.phx.gbl...
Hello,

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

Thanks for your help
cyrille

Jun 20 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.