Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

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 27554

Trending Articles