Hi
I’m trying to draw a single line which starts at the fixed position but ends with position that depends of user input.
With a fixed start and end point there is no problem but I don’t know how to replace a “fixed number” with a variable?
canvasLayer_1.DrawLine(3%x,40%y, 90%x,40%y, Colors.Green, 3dip ) ' works
Dim x_end As Double
Dim y_end As Double
canvasLayer_1.DrawLine(3%x,40%y, x_end%x, y_end%y, Colors.Green, 3dip ) ' doesn’t work
Thanks
I’m trying to draw a single line which starts at the fixed position but ends with position that depends of user input.
With a fixed start and end point there is no problem but I don’t know how to replace a “fixed number” with a variable?
canvasLayer_1.DrawLine(3%x,40%y, 90%x,40%y, Colors.Green, 3dip ) ' works
Dim x_end As Double
Dim y_end As Double
canvasLayer_1.DrawLine(3%x,40%y, x_end%x, y_end%y, Colors.Green, 3dip ) ' doesn’t work
Thanks