Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
.NET
»
Topic:
how to get pixel coordinate on screen?
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: how to get pixel coordinate on screen? (Read 1303 times)
0 Members and 1 Guest are viewing this topic.
guohq
Newt
Posts: 84
how to get pixel coordinate on screen?
«
on:
January 24, 2016, 08:00:33 PM »
Editor.PointToScreen can convert world point to pixel point ,but the origin of the coordinate is the upper left corner of drawing area, it's a relative value.I want to get the pixel coordinate to the upper left of screen.Thanks!
Logged
Jeff_M
King Gator
Posts: 4095
C3D user & customizer
Re: how to get pixel coordinate on screen?
«
Reply #1 on:
January 24, 2016, 08:34:35 PM »
This should help:
http://stackoverflow.com/questions/1316681/getting-mouse-position-in-c-sharp
Logged
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
.NET
»
Topic:
how to get pixel coordinate on screen?