UpdatePage Example for C++ 5.0 and later
void CSample_COMDlg::OnButton4()
{
int nRet = pRasterDoc->UpdatePage (pRaster, 0);
if(nRet == 0)
AfxMessageBox(TEXT("The engine successfully updated the page."));
else
AfxMessageBox(TEXT("The engine could not update the page."));
}