Quote:
Originally posted by JCK
I have a VB 6 app. that reads in x, y coordinates and then draws a polygon from these coordinates on the screen. I used the "Scale" method of the form (e.g., Form1.Scale) to set the upper left and lower right coordinates of the form to the min/max x and y values so I could plot out all coordinates on the screen.
I've having problems doing this in .NET since the Scale method is not supported. Is there something similar to Scale that will let me set the upper left and lower right coordinates of a form in custom units rather than pixels? Any thoughts appreciated.
well I'm guessing you're using a Graphics object to draw your thingies (how else ha?:D) I think the best way would be to try this method, worked well for me, but not for the same purpose. Just call it once, and then whenever you draw something with your graphics object it should be "translated" to the amount you specified