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

myPen.Width does not take 2 param

P: n/a
Hi all,

i am new at this area and have a question about the pen class.
i am not able to set the width for the object:

Pen bluePen = new Pen(Color.Blue, 3);

and giving me an error:
Projects\MyProgram\Display.cs(65): No overload for method 'Pen' takes '2' arguments

i am probably missing something?!

thanks
Erwin
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.