End Google Ads 201810 - BS.net 01 --> Hi
In my application I am printing image.But the image which I have printed is very large and it is inverted.I tried to scaledown the image,but its not working.

My Code


CRect rcPrintRect;

rcPrintRect.left = nXMargin;
rcPrintRect.right = nPageWidth - 2 * nXMargin;
rcPrintRect.top = nYMargin;
rcPrintRect.bottom = nPageHeight - 2 * nYMargin;

StretchDIBits(
pDC->m_hDC,
nXMargin + 5000,
rcPrintRect.top,
rcPrintRect.right - 7500,
rcPrintRect.bottom - 10500,
0,
0,
bmpInfo.bmiHeader.biWidth,
bmpInfo.bmiHeader.biHeight,
buffUnComDropImg,
&bmpInfo,
DIB_RGB_COLORS,
SRCCOPY
);



How to solve this issue?

Thanks in advance