Using p As New Pen(Color.Red) p.Width = 10 Dim g As Graphics = e.Graphics g.DrawRectangle(p, 10, 10, 100, 100) End Using