[quote user="Olcay EBCIN"]Does anybody know how to do it?[/quote]
I have had no time to test code, but I think you should check RasterManager.Rasters property that returns object implementing Rasters interface, that can be used to iterate (I guess) through attached rasters.
With regards,
Jan