SaveNoPalette example for Visual Basic
RasterProc.Grayscale LEADRasterView1.Raster, 8
RasterIO.SaveNoPalette = True
RasterIO.Save LEADRasterView1.Raster, "d:\temp\testnopal.tif", FILE_TIF, 0, 0, 0
RasterIO.SaveNoPalette = False
RasterIO.Save LEADRasterView1.Raster, "d:\temp\testpal.tif", FILE_TIF, 0, 0, 0