Accusoft ThumbnailXpress 5
RaiseExceptions Property
See Also  Send Feedback
AccusoftThumbnailXpress5 ActiveX DLL > ThumbnailXpress Object : RaiseExceptions Property

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.