就是怎样将屏幕坐标(Pixel)的位置换算成程序窗口里的相对应的 Twip 的位置?
感谢老师;我世上的亲人就只有老师您了!

解决方案 »

  1.   

    TwipsPerPixelX、TwipsPerPixelY 属性 
          返回水平 (TwipsPerPixelX) 或垂直 (TwipsPerPixelY) 度量的对象的每一像素中的缇数。语法object.TwipsPerPixelXobject.TwipsPerPixelYobject 所在处代表一个对象表达式,其值是“应用于”列表中的一个对象。说明Windows API 例程一般需要以像素为度量单位。使用这些属性能够快速转换度量单位而不用改变对象的 ScaleMode 属性设置值。
    **********************************************
    CoordinateSystem.TWIPSpecifies that each logical unit is converted to one twentieth of a point (called a twip).Syntaxpublic static final int TWIP; ResBecause a point is 1/72 of an inch, a twip is 1/1440 of an inch. 
    一个点是1/72英尺,一缇是1/1440英尺As the positive x value increases, the x-coordinate moves to the right. As the positive y value increases, the y-coordinate moves up.