The lines and pictures uses pixels location to determine there positions.
the sttart and end points of the lines is an x and y corrdinate like
(246, 529) and (246, 1024)
This is a vertical line because the X corrdinate is the same.
The pictures have 4 properties
1) Left
2) Height
3) Top
4) Width
If the line is the left boundary of the picture then you want
picture1.Left = 246
You want the height of the picture to be the length of the line
picture.height = 1024 - 529
Note : Positive width goes to the right of the screen which is obvious.
Positive Height got towards the top of the screen (which most people get
wrong the 1st time).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.