doubleGetCrurrentViewResolution() { CPoint ptIn1( 0, 0); //设备坐标系上的第一点; acedDwgPoint ptOut1; acedCoordFromPixelToWorld( ptIn1 , ptOut1); CPoint ptIn2( 100, 0); //设备坐标系上的第二点; acedDwgPoint ptOut2; acedCoordFromPixelToWorld( ptIn2 , ptOut2); double dResolution = (ptOut2[0]-ptOut1[0])/100; return dResolution; }