SelectData Example for Visual Basic

Dim RasterProc As New LEADRasterProcess
Dim RasterSrc As New LEADRaster
Dim RasterIO As New LEADRasterIO

RasterIO.Load RasterSrc, "c:\image1.bmp", 0, 0, 1

RasterProc.SelectData LEADRasterView1.Raster, _
                              RasterSrc, _
                              RGB(233, 10, 77), _
                              2, _
                              6, _
                              25, _
                              True