Segment example for Visual Basic
Dim RasterProc As New LEADRasterProcessRasterProc.Segment LEADRasterView1.Raster, 20, SGM_RGB