DeletePage example for C++ 5.0 and later
// delete page 1 from TEST.TIF
ILEADRasterIO *pRasterIO=NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL,
IID_ILEADRasterIO, (void**)&pRasterIO);
// delete page 1 from TEST.TIF
pRasterIO->DeletePage("d:\\temp\\TEST.TIF", 1);
pRasterIO->Release();