RemapTableSize example for Visual Basic
If (LEADRasterView1.Raster.BitmapBits = 16 And LEADRasterView1.Raster.IsGrayscale()) _
Or LEADRasterView1.Raster.BitmapBits = 64 Or LEADRasterView1.Raster.BitmapBits = 48 Then
RasterProc.RemapTableSize = 65536
ElseIf LEADRasterView1.Raster.BitmapBits = 12 Then
RasterProc.RemapTableSize = 4096
Else
RasterProc.RemapTableSize = 256
End If
Exit Sub