转换点,像素和&毫米 [英] convert points, pixels & millimeters

查看:70
本文介绍了转换点,像素和&毫米的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


有没有人知道上述的转换(上面的每一个之间的关系)

即多少点构成一个像素和一个像素。有多少像素构成一个点。


-

Besty问候,

TJ

解决方案

嗨TJ,


弗格斯确实做过一次
http://groups.google.com/groups?q=in...xx .gbl& rnum = 2


我认为这会有所帮助吗?


Cor


" T.Jackson" < tj@mymail.com> schrieb


有没有人知道上面的转换(上面的每一个之间的关系)。
即像素和点数组成多少点。多少像素组成一个点。




取决于设备。要获得每英寸的点数,请参阅System.Drawing.Graphics对象的DpiX和DpiY

属性。你在OnPaint获得一个

(参数e.graphics)或在OnPaint外创建一个新的

(Control.CreateGraphics)。


20分= 1英寸= 2.54厘米= 25.4毫米

-

Armin


如何引用及原因:
http://www.plig.net/ nnq / nquote.html
http:// www .netmeister.org / news / learn2quote.html


*" Cor" < no*@non.com> scripsit:

Fergus确实做过一次

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




规范网址:


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


-

Herfried K. Wagner [MVP]

< http://www.mvps .org / dotnet>


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

解决方案

Hi TJ,

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

I think that will help?

Cor


"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


* "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>


这篇关于转换点,像素和&amp;毫米的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆