RemovePage Example for Visual Basic
Private Sub Command5_Click()
Dim nRet As Integer
RasterDoc.CleanupPages
True
nRet = RasterDoc.RemovePage (0)
If nRet = 0 Then
MsgBox "The engine deleted the specified page from the OCR document"
Else
MsgBox "The engine could not delete the specified page from the OCR document"
End If
End Sub