By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,249 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

Me.Line (X1, Y1) - (X2, Y2)

P: 2

Hi All,

I also have the same problem with reghunadhs, regarding graph using visual basic. I just want to ask the meaning of code or each of the code 'Me.Line (X1, Y1) - (X2, Y2)'? Can I use or implement this function by making 2 lines the X&Y or lines inside the picture box and form the values of the graph?

Thank you! [/zipAhoy]
Sep 2 '07 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 1,445

Here (X1, Y1 ) means Co-Ordinates of End Point Line
and (X2,Y2) means the Co-Ord of other End point of the Line.

Its an "OverLoaded" Function, u can use it for Pictuire Box and Printer Object also. Replace me with the Control Name .. say:

PictureBox1.Line (100,200) - (300, 800)

Sep 3 '07 #2

P: 2
Thank you very much Qveen72!
Sep 3 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.