CaptureFullScreen Example for C++ 5.0 and later

    /*set a 3 sec delay*/
    m_pRasterScr1.PutCaptureDelay(3000);
    /*capture the entire screen*/
    m_pRasterScr1.CaptureFullScreen();
    /*copy the captured image to a Main Control*/
    m_LEADRasterView1.GetRaster().SetBitmap(m_pRasterScr1.GetBitmap ());