CancelError Property

Example-VB Example-VC++

Returns or sets whether an error will be returned when a user chooses Cancel from either the File or Print dialog boxes.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Admin control

Syntax

object.CancelError[= {True|False}]

Data Type

Boolean

Setting Description

True (default) Causes an error to be returned when the user chooses Cancel from either the File or Print dialog boxes
False No error is returned when the user chooses Cancel

Remarks

When a user chooses Cancel from the File or Print dialog boxes, and this property is set to True, an error is returned by the ShowFileDialog or ShowPrintDialog methods, respectively.