ComponentOne VSView 8.0
EndDoc Method

Ends the current document (created with the StartDoc method).




The EndDoc method finishes the current document. If the Preview property is set to True, the document remains on the control and can be previewed, saved or printed. If Preview is set to False, the document is sent to the printer.

To cancel the current document, use the KillDoc method instead of EndDoc. KillDoc will clear the control's contents and cancel the printing job if it has started.



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

Product Support Forum  |  Documentation Feedback