SubtractBackground example for Visual Basic

Dim RasterProc As New LEADRasterProcess
RasterProc.SubtractBackground LEADRasterView1.Raster, _
                                          50, _
                                          SBK_1_1, _
                                          100, _
                                          SBK_BG_DARK Or _
                                          SBK_RES_SHOW