作成日: 2018/07/25 最終更新日: 2018/07/25
文書種別
使用方法
詳細
印刷時のドキュメント名(印刷ジョブ名)は、PrintJobNameプロパティで指定することができます。
◆サンプルコード(VB.NET)
◆サンプルコード(C#)
◆サンプルコード(VB.NET)
C1FlexReport1.Load("ファイルパス", "レポート名")
C1FlexReport1.Render()
' Printメソッドで印刷する場合
Dim po As New C1.WPF.Document.C1PrintOptions
po.PrintJobName = "ドキュメント名"
C1FlexReport1.Print(po)
' C1FlexViewerの印刷ボタンで印刷する場合
C1FlexViewer1.DocumentSource = C1FlexReport1
C1FlexViewer1.Pane.PrintJobName = "ドキュメント名"
C1FlexReport1.Render()
' Printメソッドで印刷する場合
Dim po As New C1.WPF.Document.C1PrintOptions
po.PrintJobName = "ドキュメント名"
C1FlexReport1.Print(po)
' C1FlexViewerの印刷ボタンで印刷する場合
C1FlexViewer1.DocumentSource = C1FlexReport1
C1FlexViewer1.Pane.PrintJobName = "ドキュメント名"
◆サンプルコード(C#)
c1FlexReport1.Load("ファイルパス", "レポート名");
c1FlexReport1.Render();
// Printメソッドで印刷する場合
var po = new C1.WPF.Document.C1PrintOptions();
po.PrintJobName = "ドキュメント名";
c1FlexReport1.Print(po);
// C1FlexViewerの印刷ボタンで印刷する場合
c1FlexViewer1.DocumentSource = c1FlexReport1;
c1FlexViewer1.Pane.PrintJobName = "ドキュメント名";
c1FlexReport1.Render();
// Printメソッドで印刷する場合
var po = new C1.WPF.Document.C1PrintOptions();
po.PrintJobName = "ドキュメント名";
c1FlexReport1.Print(po);
// C1FlexViewerの印刷ボタンで印刷する場合
c1FlexViewer1.DocumentSource = c1FlexReport1;
c1FlexViewer1.Pane.PrintJobName = "ドキュメント名";
関連情報
旧文書番号
83080