convert points, pixels & millimeters

  • Thread starter Thread starter T.Jackson
  • Start date Start date
T

T.Jackson

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.
 
T.Jackson said:
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
 
* "Cor said:
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.
 
* "Trev Hunter said:
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.
 
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.
 
* "Trev Hunter said:
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.

:-)
 
Back
Top