Question:What type of line would the following code sample draw?
Dim g As Graphics = Me.CreateGraphics
Dim p As Pen = New Pen(Color.Red, 10)
p.StartCap = LineCap.Flat
p.EndCap = LineCap.ArrowAnchor
g.DrawLine(p, 50, 50, 400, 50) - VB.NET
 

A An arrow pointing up 

B An arrow pointing down 

C An arrow pointing left 

D An arrow pointing right 

+ Answer
+ Report
Total Preview: 1634

Copyright © 2024. Powered by Intellect Software Ltd