PowerTools ActiveReports for .NET 11.0J
Printer プロパティ (SectionDocument)
使用例 

構文
'宣言
 
Public ReadOnly Property Printer As Printer
public Printer Printer {get;}
使用例
private void SectionReport1_ReportStart(object sender, System.EventArgs eArgs)
{
    this.Document.Printer.PrinterSettings.Copies=5;
}

private void SectionReport1_ReportEnd(object sender, System.EventArgs eArgs)
{    
    this.Document.Print(false, false);
}
Private Sub SectionReport1_ReportStart(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart
    Me.Document.Printer.PrinterSettings.Copies = 5
End Sub

Private Sub SectionReport1_ReportEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.ReportStart   
    Me.Document.Print(False, False)
End Sub
参照

関連項目

SectionDocument クラス
SectionDocument メンバ
Printer class

 

 


©2003-2017 GrapeCity inc. All rights reserved.