SavePage example for C++ Builder
LEADRasterIO* pRasterIO= NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL, IID_ILEADRasterIO, (void**)&pRasterIO);
//replace page 1 from TEST.TIF
pRasterIO->SavePage = 1;
pRasterIO->Save (LEADRasterView1->Raster, AnsiToOLESTR("d:\\pictures\\TEST.TIF"),
FILE_TIF, 8, (QFactorConstants)0, SAVE_REPLACE);
pRasterIO-> Release( );