GetUserLookupTable example for Visual Basic
Dim PointCount As Long
RasterProc.UserLUTCurveSize = 3
RasterProc.UserLUTCurveX(0) = 0
RasterProc.UserLUTCurveY(0) = 0
RasterProc.UserLUTCurveX(1) = 128
RasterProc.UserLUTCurveY(1) = 150
RasterProc.UserLUTCurveX(2) = 255
RasterProc.UserLUTCurveY(2) = 255
RasterProc.GetUserLookupTable
PointCount = RasterProc.UserLookupTablePointCount
RasterProc.RemapIntensity LEADRasterView1.Raster, CHANNEL_MASTER
MsgBox PointCount & " Points were modified"