Accusoft ThumbnailXpress 6
RaiseExceptions Property
Description
The RaiseExceptions property controls how errors are reported to the application.
Property type
Read-write property
Syntax
Visual Basic
Public Property RaiseExceptions As Boolean
Return Type
A boolean value which is True to raise exceptions. Otherwise, False should be used and exceptions are not raised.
Remarks
The default value is True.
Example

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

See Also

ThumbnailXpress Object  | ThumbnailXpress Members

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback