Visual Basic (Declaration) | |
---|---|
Overloads Public Function Print() As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public bool Print() |
C# | Copy Code |
---|---|
private void rptPrint_ReportStart(object
sender, System.EventArgs eArgs) |
Visual Basic | Copy Code |
---|---|
Private Sub ActiveReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart |
Use the Printer property to set printer options before printing the document.
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.