I see one problem immediately... From the docs: "When MM_ISOTROPIC mode is set, an application must call the SetWindowExtEx function before calling SetViewportExtEx"
mazhar_cse wrote:
size of Printed Image is not (640*480).
Assuming you get the DC set up properly, and you're not stretching the image when you render it to the print DC, the resulting image dimensions should be 4480 x 3360. As far as the size on the printed page - this could be anything. You haven't taken resolution into consideration here. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: