Hi all

I am using DrawString like this

 oGfx.DrawString("Text to draw", loFont, loBlackBrush, x, y)

loFont has been defined using  loFont = .Font.New("Arial",10,0)

So far so good. If I want to use Bold it seems that I cannot change 
loFont once it has been constructed but must instead define loFont 
.Font.New("Arial",10,1).  Am I right, or is there a way to define loFont 
and subsequently change its style (bold and/or italic) ?

Also, in the above example, loBlackBrush has been constructed with  
loBlackBrush = .Brushes.Black

How would I go about setting the font color (i.e. the pen color) to an 
arbitrary color obtained using GETCOLOR() ?

Thanks

Paul Newton




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to