Hello.
I want to set my coordinate-system-origin (0/ 0) to the bottom-left corner.
How is that done in VB.net the best way?
thanks.
3 1518
You have to formulate it I believe.
When Y=2 you would really want "Height - 2", etc
You have to formulate it I believe.
When Y=2 you would really want "Height - 2", etc
Well i use this
g.TranslateTransform(0,Picturebox.height) where g is Graphics...But This is of no use can u suggest me some sample codes.
Well Like I said: -
int ProduceX(int x, Control c)
-
{
-
return c.Width-x;
-
}
-
-
int ProduceY(int y, Control c)
-
{
-
return c.Height-y;
-
}
-
you could combine them into a single function that returns a Point, or you could do by ref and just change them to correct values
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Tim Bücker |
last post by:
Hello.
I want to set my coordinate-system-origin (0/ 0) to the bottom-left corner.
How is that done in C# the best way?
Thanks a lot in advance!
Greetings,
Tim.
|
by: Randy Vande Hei |
last post by:
Does anyone know how to change the the GDI+ coordinate system like you used
to be able to do in VB6 with the picturebox.scale method. The
picturebox.scale method took an x,y point defining the...
|
by: OtisUsenet |
last post by:
Hello,
Is there a way to use JavaScript to push a page element (a DIV block,
for example) down the screen, so it sits at the bottom of the browser
window.
For example of a bad footer...
|
by: jigsmshah |
last post by:
I need to print a text file .When i print it ,it is not printed exactly form 0,0 coordiante of the page. I mean the top most left corner.It is leaving some margin from top and from left.The code is...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |