我在用GDI+做打印时,预览时有时会不正常,走样,但打印正常,应该是映射方面的问题,求救

解决方案 »

  1.   

    GDI+并没有和GDI一样的映射模式,只有坐标系的概念,看看它的坐标系就OK了
      

  2.   

    打印时,与显示时,用的单位不同
    ms-help://MS.MSDNQTR.2003FEB.2052/gdicpp/gdi+/gdi+reference/enumerations/unit.htmUnit Enumerated Type--------------------------------------------------------------------------------The Unit enumeration specifies the unit of measure for a given data type.Syntaxtypedef enum {
        UnitWorld = 0,
        UnitDisplay = 1,
        UnitPixel = 2,
        UnitPoint = 3,
        UnitInch = 4,
        UnitDocument = 5,
        UnitMillimeter = 6
    } Unit;ConstantsUnitWorld
    Specifies world coordinates, a nonphysical unit. UnitDisplay
    Specifies display units. For example, if the display device is a monitor, then the unit is 1 pixel. UnitPixel
    Specifies that a unit is 1 pixel. UnitPoint
    Specifies that a unit is 1 point or 1/72 inch. UnitInch
    Specifies that a unit is 1 inch. UnitDocument
    Specifies that a unit is 1/300 inch. UnitMillimeter
    Specifies that a unit is 1 millimeter.