Specifies whether the printing is done in a separate thread or in the same thread.
If printing is done in a separate thread and the application is shut down right after the print call, the separate thread will die before the report is printed.
Sends the document content to the printer, specifying whether print and print progress dialogs will be shown, and whether printing will be done in a separate thread.
[Visual Basic]
Overloads Public Sub Print( _
ByVal showPrintDialog As Boolean, _
ByVal showPrintProgressDialog As Boolean, _
ByVal usePrintingThread As Boolean _
)
[C#]
public void Print(
bool showPrintDialog,
bool showPrintProgressDialog,
bool usePrintingThread
);
Specifies whether the printing is done in a separate thread or in the same thread.
If printing is done in a separate thread and the application is shut down right after the print call, the separate thread will die before the report is printed.
Please note that the document does not exist until the report has been run, so reports must be run prior to calling the Print method.
[C#]
private void rptPrint_ReportStart(object sender, System.EventArgs eArgs) |
[Visual Basic]
Private Sub ActiveReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart |
Document Class | Document Members | Overload List
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.