I tested following code in a canvas paint event. The PenHeight value seems to has no effect. The Line is always drawn with the width of PenWidth. Is PenWidth = 0 nothing is drawn. If PenHeight=0 the form is drawn.
dim yOffset as integer
g.PenHeight = 1
g.PenWidth = 1
yOffset = 50
g.DrawLine(30, yOffset, 150, yOffset)
g.PenHeight = 1
g.PenWidth = 10
yOffset = 100
g.DrawLine(30, yOffset, 150, yOffset)
g.DrawLine(30, yOffset, 30 , yOffset +30)
g.PenHeight = 10
g.PenWidth = 1
yOffset = 150
g.DrawLine(30, yOffset, 150, yOffset)
g.DrawLine(30, yOffset, 30, yOffset + 30)
g.PenHeight = 0
g.PenWidth = 1
yOffset = 200
g.DrawLine(30, yOffset, 150, yOffset)
g.DrawLine(30, yOffset, 30, yOffset +30)