Indicates or sets if an error will be returned when a user chooses Cancel from either the File or Print dialog boxes.
Image Admin control
object.CancelError[= {True|False}]
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. |
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.
ShowFileDialog method
ShowPrintDialog method