RemoveZone Example for C++ 5.0 and later
void CSample_COMDlg::OnButton12()
{
int nRet = pRasterDoc->RemoveZone (0, 0);
if (nRet == 0)
AfxMessageBox(TEXT("The specified zone was deleted from the specified page."));
else
AfxMessageBox(TEXT("The engine couldn't delete the specified zone."));
}