ICustom3DPaletteSeries.CountLegendItems ICustom3DPaletteSeries
function CountLegendItems: Integer; Type Library TeeChartx