tChartImage problem

I have an application which has recently been moved from Delphi 2010 to DelphiXE2. Over the past couple of months have had to 'build' the project several times (in XE2) without any problems.  Today I get the following error

 
Incompatible types: 'tChartImageType' and 'TImgType'
 
for the following line of code
 
SiteSaleCht.Panes[0].Chart.SaveToImage(GraphPicDlg.FileName,1000,500,itBmp);
 
Have reinstalled AdvCharts but error still occurrs.
 
Any clues??
 
thanks in advance
 
Bill Zwirs

This is due to the parameters that are defined in several units and have the same values. Please prefix 


itBmp with 'tChartImageType:

TChartImageType.itBmp