Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42215

Dim blackPen As New Pen(Color.Black, 3) -- pen not defined ??

$
0
0
i am trying to draw in a picturebox
i have Imports System.Drawing.Graphics at top of form
but in a subroutine i define black pen with
Dim blackPen As New Pen(Color.Black, 3)
compiler says that Pen is not defined.

its got to be something rather simple since all the examples i have searched for use this type of declaration

thanks

follys

Viewing all articles
Browse latest Browse all 42215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>