![]() |
【转帖】print to scale
print to scale
print to scale hi, i'm trying to print to scale with version 1.09, using mfc. i use setviewheight() and setviewcenter() methods from oddbviewportptr to change the size and position of my output, but i'm finding it hard to understand the values needed to scale the output properly. i follow these changes with a call to the resetdevice() method. they work great when i change the values for display purposes, but the values don't seem to match what i would think makes sense for printing. i'm working with the following values: portrait mode 8.5" x 11" paper (7.94" x 10.38" with margins) the drawing has extents of w = 8.4 and h = 6.4. plot scale: 1" = 1 unit to get this drawing to print at a 1 inch = 1 drawing unit using the extents plot area, i need to enter a value of 4.6 for the setviewheight() method. i haven't been able to figure out why this value works. is using setviewheight() and resetdevice() the best way to do this or am i just not understanding the value correctly? thanks for any help you can give me. john |
所有的时间均为北京时间。 现在的时间是 05:35 PM. |