IsRegistrationMark Example for Visual Basic

Dim RasterProc As New LEADRasterProcess
Dim nRet As Integer

nRet = RasterProc.IsRegistrationMark(LEADRasterView1.Raster, RGS_T, 90, 110, 31, 29)
If (nRet = 0) Then
 MsgBox "it is a registration mark"
End If