DigitalSubtract Example for Visual Basic
Dim RasterSrc As New LEADRaster
Dim RasterIO As New LEADRasterIO
Dim RasterProc As New LEADRasterProcess
RasterIO.Load RasterSrc, "c:\image1.cmp", 0, 0, 1
RasterProc.DigitalSubtract LEADRasterView1.Raster, RasterSrc, DS_CONTRASTENH