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.
 
Back
Top