Pen Width?

  • Thread starter Thread starter Andreas Schenk
  • Start date Start date
A

Andreas Schenk

Hi!
I do the following code to generate a new pen:

--> pen = new Pen(Color.Black);

in the help I saw that you can change the width of the pen with:

--> pen = new Pen(Color.Black,5);

but it won't work for me in cf?! how can I use a custom width for my pen?



Andreas Schenk
 
Pen width isn't supported. A simple work around is to fill a rectangle, that
is the desired width/height, using the Graphics FillRectangle() method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top