| << Click to Display Table of Contents >> OnRequestClose Event |     | 
VPE requests confirmation from your application, if the preview can be closed.
OnRequestClose(
Sender: TVPEngine;
var CanClose: Boolean
)
Sender
the VPE object that fired the event
CanClose
is a return-parameter, i.e. you can assign it one of the following values to control the resulting action of VPE:
| Value | Description | 
| False | no, the preview may not be closed | 
| True | Otherwise |