AutoPan Example for C++ Builder
//toggle AutoPan LEADRasterView1->AutoPan= !LEADRasterView1-> AutoPan;