Available in the LEADTOOLS Imaging toolkit. |
PrinterScaleHeight Example for C++ 4.0 and later
long hDC;
hDC = m_LEAD1.PrintStart();
//print 1/4 of the printable region
m_LEAD1.Render(hDC, 0, 0, m_LEAD1.GetPrinterScaleWidth() / 4, m_LEAD1.GetPrinterScaleHeight() / 4);
m_LEAD1.PrintEnd(hDC);