Available in the LEADTOOLS Imaging toolkit. |
EnableFastRender (Main Control) example for C++ 4.0 and later
long hdcPrinter;
m_LEAD1.Load("c:\\Wizard4.jpg", 0, 0, 1);
m_LEAD1.SetEnableFastRender(TRUE);
hdcPrinter = m_LEAD1.PrintStart();
m_LEAD1.Render(hdcPrinter, 0, 0, 0, 0);
m_LEAD1.PrintEnd(hdcPrinter);
m_LEAD1.SetEnableFastRender(FALSE);