HueSaturationIntensity example for Visual Basic

Dim RasterProc As New LEADRasterProcess

RasterProc.HSICount = 1
RasterProc.HSIHue(0) = 18000
RasterProc.HSISaturation(0) = 0
RasterProc.HSIIntensity(0) = 0
RasterProc.HSIOuterLow(0) = 315
RasterProc.HSIOuterHigh(0) = 45
RasterProc.HSIInnerLow(0) = 345
RasterProc.HSIInnerHigh(0) = 15
' change the red color to green
RasterProc.HueSaturationIntensity LEADRasterView1.Raster, 0, 0, 0