plotting lines coordinates

  • Thread starter Thread starter Vishruth
  • Start date Start date
V

Vishruth

Hi,
I would like to know how to set the starting
coordinates of a form from 0,0 to 15000,15000.(ie)I would
like my form to start from 15000,15000 as coordinate and
not 0,0.
Please reply me urgently.
Thanking You.
 
Vishruth said:
Hi,
I would like to know how to set the starting
coordinates of a form from 0,0 to 15000,15000.(ie)I would
like my form to start from 15000,15000 as coordinate and
not 0,0.
Please reply me urgently.
Thanking You.

Subtract 15000 and 15000 from each coordinate before drawing.

see also:

http://msdn.microsoft.com/library/e...rdinate_systems_and_transformations_about.asp

especially
http://msdn.microsoft.com/library/e...rdinate_systems_and_transformations_about.asp


or supplied with VB:
<F1>
VS.NET
.NET Framework
Programming with the.NET Framework
Drawing and Editing Images
About GDI+ Managed Code
Coordinate Systems And Transformations
 
Hi Armin,

Here I did wanted to add that sample you did make this week,

Because it was Christmas and I was not sure you would be here active today

But afterwards I thought it was not what was ment.

Cor
 
* "Vishruth said:
I would like to know how to set the starting
coordinates of a form from 0,0 to 15000,15000.(ie)I would
like my form to start from 15000,15000 as coordinate and
not 0,0.

Have a look at the 'TranslateTransform' method of the 'Graphics' object
you use to draw.
 
Back
Top