ROIMean example for Visual Basic
Dim RasterProc As New LEADRasterProcess
Dim strOut As String
RasterProc.GetOverlayAttributes LEADRasterView1.Raster, 0, OVERLAYATTRIBUTES_FLAGS
MsgBox "ROIMean = " + Str(RasterProc.OverlayAttributes.ROIMean) + Chr(13) + _
"ROIArea = " + Str(RasterProc.OverlayAttributes.ROIArea) + Chr(13) + _
"ROIStandardDeviation = " + Str(RasterProc.OverlayAttributes.ROIStandardDeviation) + Chr(13)