AccusoftThumbnailXpress6 ActiveX DLL > ThumbnailXpress Object : RaiseExceptions Property |
Visual Basic |
---|
Public Property RaiseExceptions As Boolean |
If RaiseExceptions is set to False, no exceptions are sent to the caller
via IErrorInfo; instead, the caller checks the ErrorCode property.
If RaiseExceptions is set to True, exceptions are sent via IErrorInfo
and the caller code can look like this:
Private Sub Command1_Click()
On Error Goto LocalError
ThumbnailXpress...
...
Exit Sub
LocalError:
' Do something here.
End Sub