LoadStatus Example for Visual Basic
Dim RasterIO As New LEADRasterIO
Dim nRet As Integer
nRet = RasterIO.Load(LEADRasterView1.Raster, "c:\1.jpg", 0, 0, 1)
If (nRet = 0) Then
If (RasterIO.LoadStatus = 0) Then
MsgBox ("The image was loaded successfully and with no errors")
Else
MsgBox ("The image was loaded, but it might have corrupted areas"), , "Warning!"
End If
Else
MsgBox ("The load failed!"), , "ERROR"
End If