CancelError Property

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

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.

See Also

ShowFileDialog method

ShowPrintDialog method