468,490 Members | 2,584 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,490 developers. It's quick & easy.

convert points, pixels & millimeters

Hi guys,

Does anyone know the conversions for the above (relationship between each of
the above).
Ie how many points makeup a pixel & how many pixels make up a point.

--
Besty Regards,
TJ
Nov 20 '05 #1
13 22530
Cor
Hi TJ,

Fergus did make it once
http://groups.google.com/groups?q=in...phx.gbl&rnum=2

I think that will help?

Cor
Nov 20 '05 #2
"T.Jackson" <tj@mymail.com> schrieb

Does anyone know the conversions for the above (relationship between
each of the above).
Ie how many points makeup a pixel & how many pixels make up a
point.


Depends on the device. To get the dots per inch, see the DpiX and DpiY
properties of the System.Drawing.Graphics object. You get one in OnPaint
(argument e.graphics) or create a new one outside OnPaint
(Control.CreateGraphics).

20 points = 1 inch = 2.54cm = 25.4mm

--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
* "Cor" <no*@non.com> scripsit:
Fergus did make it once

http://groups.google.com/groups?q=in...phx.gbl&rnum=2


Canonical URL:

<http://groups.google.com/groups?selm=uMtwIV8eDHA.988%40TK2MSFTNGP10.phx.gbl >

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
* "Cor" <no*@non.com> scripsit:
How you do that?


Removing parts that are not necessary for finding the message. The
'selm' parameter followed by the message ID will include enough
information to identify the message.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
* "Cor" <no*@non.com> scripsit:
How you do that?


I forgot to mention this script (nevertheless, I always remove the party
by hand):

<http://www.centauri.org/~neild/google.cgi>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #7
Cor
Thanks
Nov 20 '05 #8
Yet another alternative to the long URLs (i.e. use TinyURL -
http://tinyurl.com):

http://tinyurl.com/2fzx9
Trev.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:Om**************@tk2msftngp13.phx.gbl...
* "Cor" <no*@non.com> scripsit:
Fergus did make it once
http://groups.google.com/groups?q=in...phx.gbl&rnum=2
Canonical URL:

<http://groups.google.com/groups?selm...TNGP10.phx.gbl

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #9
Cor
Hi Trev,

Thanks is beside the other one in my favorites.

Cor
Nov 20 '05 #10
* "Trev Hunter" <hu*********@hotmail.com> scripsit:
Yet another alternative to the long URLs (i.e. use TinyURL -
http://tinyurl.com):

http://tinyurl.com/2fzx9


ACK, but those URLs are not canonical. One resource on the net should
only have one URL (the canonical address). When using services like
TinyUrl or MakeAShorterLink, URLs are not necessarily canoncical.

If in the yar 2010 TinyUrl closes its service, URLs will become
useless. The original Google URLs will include the message ID which
will make locating the message easier even if Google doesn't provide its
archive any more.

Just my 2 Euro cents.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #11
Good point. I'll try to provide the canoncical version if possible in the
future and reserve TinyURL for an option in cases when linebreaks can still
mess up.

Trev.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:eK**************@tk2msftngp13.phx.gbl...
* "Trev Hunter" <hu*********@hotmail.com> scripsit:
Yet another alternative to the long URLs (i.e. use TinyURL -
http://tinyurl.com):

http://tinyurl.com/2fzx9


ACK, but those URLs are not canonical. One resource on the net should
only have one URL (the canonical address). When using services like
TinyUrl or MakeAShorterLink, URLs are not necessarily canoncical.

If in the yar 2010 TinyUrl closes its service, URLs will become
useless. The original Google URLs will include the message ID which
will make locating the message easier even if Google doesn't provide its
archive any more.

Just my 2 Euro cents.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #12
* "Trev Hunter" <hu*********@hotmail.com> scripsit:
Good point. I'll try to provide the canoncical version if possible in the
future and reserve TinyURL for an option in cases when linebreaks can still
mess up.


ACK. That's what I am doing at the moment (some times ago I used
TinyUrl too but then somebody told be about the disadvantages) too.

:-)

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #13
Thanx.

"Cor" <no*@non.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi TJ,

Fergus did make it once
http://groups.google.com/groups?q=in...phx.gbl&rnum=2
I think that will help?

Cor

Nov 20 '05 #14

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Anne | last post: by
4 posts views Thread by Ma Xiaoguang | last post: by
2 posts views Thread by Ricardo Furtado | last post: by
4 posts views Thread by perspolis | last post: by
8 posts views Thread by Robert Dufour | last post: by
2 posts views Thread by Laszlo Nagy | last post: by
reply views Thread by NPC403 | last post: by
3 posts views Thread by gieforce | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.