PDA

Click to See Complete Forum and Search --> : PictureBox coordinates


Joacim Andersson
Nov 9th, 1999, 12:25 AM
As far as I know you can't change the origin point. The Height and Width properties are relative to the scalemode of the container (usually a form). But I assume that you are interested of changing the picturebox scalemode. You can set the ScaleHeight and ScaleWidth of the picturebox to any value that you desire. These values are used when you draw on the picturebox (with the Line method for example).

Good luck!

------------------
Joacim Andersson
joacim@programmer.net
joacim@yellowblazer.com
www.YellowBlazer.com (http://www.YellowBlazer.com)




[This message has been edited by Joacim Andersson (edited 11-09-1999).]

Tonatiuh
Nov 9th, 1999, 11:51 AM
The natural origin point (0,0) into a PictureBox is in upper left corner.

How can I set this origin point (0,0) to bottom left corner? and how can I set the height value to another value I want?

Thanks!