バージョン

ReportSettings プロパティ

Report の全体の設定を含むオブジェクトを取得します (読み取り専用)。
シンタックス
'宣言
 
Public Overrides ReadOnly Property ReportSettings As ReportSettings
public override ReportSettings ReportSettings {get;}
使用例
Private Sub SetReportSettings()

    Dim reportObj As New Report()

    ' set print order. it can be first left than down (horizontal) or first(down than left(vertical)
    reportObj.ReportSettings.PagePrintOrder = PagePrintOrder.Horizontal
    ' set scale mode
    reportObj.ReportSettings.HorizontalPaginationMode = HorizontalPaginationMode.Mosaic
    
    Dim section As New EmbeddedVisualReportSection(XamDataGrid1)
    reportObj.Sections.Add(section)
    
    progressInfo.Report = reportObj
    reportObj.Print(False)
End Sub
private void SetReportSettings()
{
	Report reportObj = new Report();

	// set print order. it can be first left than down (horizontal) or first(down than left(vertical)
	reportObj.ReportSettings.PagePrintOrder = PagePrintOrder.Horizontal;
	// set scale mode
	reportObj.ReportSettings.HorizontalPaginationMode = HorizontalPaginationMode.Mosaic;

	EmbeddedVisualReportSection section = new EmbeddedVisualReportSection(XamDataGrid1);
	reportObj.Sections.Add(section);

	progressInfo.Report = reportObj;
	reportObj.Print(false);
}
参照