ComponentOne List 8.0 for ActiveX
PageSetupCancelled Property

 

PrintInfo Reference> PrintInfo Object Properties> PageSetupCancelled Property

PageSetupCancelled Property

This property returns a Boolean that determines whether the PageSetup dialog has been cancelled by the user.

Syntax

PrintInfo.PageSetupCancelled

Remarks

Read-only at run time. Not available at design time.

Property applies to PrintInfo object.

If True, the PageSetup dialog most recently displayed was cancelled by the user (either the user pressed Cancel command button or the small Close button in the upper right hand corner of the dialog was pressed). This indicates that any user changes to the specified printer settings have been aborted, and that the Settings property of the PrintInfo object has not been changed.

If False, the PageSetup dialog most recently displayed was closed by the user pressing the OK command button on the lower right hand corner of the dialog.  This indicates that user changes (if any) to the specified printer settings have been stored in the Settings property of the PrintInfo object.

See Also

PrintInfo Object, PrintInfos Collection

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback