PowerTools ActiveReports for .NET 9.0J
PrintingSettings プロパティ (Viewer)
使用例 

印刷設定を取得または設定します。
構文
'宣言
 
Public Property PrintingSettings As PrintingSettings
public PrintingSettings PrintingSettings {get; set;}
使用例
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim settings As New GrapeCity.Viewer.Common.PrintingSettings

    settings = CType((((GrapeCity.Viewer.Common.PrintingSettings.ShowPrintDialog Or GrapeCity.Viewer.Common.PrintingSettings.ShowPrintProgressDialog) Or GrapeCity.Viewer.Common.PrintingSettings.UsePrintingThread) Or GrapeCity.Viewer.Common.PrintingSettings.UseStandardDialog), GrapeCity.Viewer.Common.PrintingSettings)

    Viewer1.Print(settings)

End Sub
private void Form1_Load(System.Object sender, System.EventArgs e)
{
    GrapeCity.Viewer.Common.PrintingSettings settings = new GrapeCity.Viewer.Common.PrintingSettings();

    settings = (GrapeCity.Viewer.Common.PrintingSettings)(((GrapeCity.Viewer.Common.PrintingSettings.ShowPrintDialog | GrapeCity.Viewer.Common.PrintingSettings.ShowPrintProgressDialog) | GrapeCity.Viewer.Common.PrintingSettings.UsePrintingThread) | GrapeCity.Viewer.Common.PrintingSettings.UseStandardDialog);

    Viewer1.Print(settings);

}
参照

関連項目

Viewer クラス
Viewer メンバ

 

 


©2003-2015 GrapeCity inc. All rights reserved.