CaptureWallPaper Example for C++ 5.0 and later

    /*capture the wallpaper*/
    m_pRasterScr1.CaptureWallPaper();
    /*copy the captured image to a Main Control*/
    m_LEADRasterView1.GetRaster().SetBitmap(m_pRasterScr1.GetBitmap ());