Control Reference > VSPrinter Control > VSPrinter Methods > KillDoc Method |
Cancels and deletes the current document.
[form!]VSPrinter.KillDoc
This method cancels a document that was started with the StartDoc method and resets the control.
To delete an existing preview document and reset the control, use the SetPageExtent method.