PowerTools ActiveReports for .NET 11.0J
InsertRange メソッド (PagesCollection)
使用例 

オーバーロード一覧
オーバーロード解説
InsertRange(Int32,PagesCollection)  
InsertRange(Int32,Page[])  
使用例
private void button1_Click(object sender, System.EventArgs e)
{
    GrapeCity.ActiveReports.SectionReport merge = new GrapeCity.ActiveReports.SectionReport();
    GrapeCity.ActiveReports.Document.SectionDocument fRdf = new GrapeCity.ActiveReports.Document.SectionDocument();
    fRdf.Load(@"C:\a.rdf");
    merge.Document.Pages.InsertRange(merge.Document.Pages.Count, fRdf.Pages);
    fRdf.Load(@"C:\b.rdf");
    merge.Document.Pages.InsertRange(merge.Document.Pages.Count, fRdf.Pages);
    arv.Document = merge.Document;
}
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
    Dim merge As New GrapeCity.ActiveReports.SectionReport
    Dim fRdf As New GrapeCity.ActiveReports.Document.SectionDocument
    fRdf.Load("C:\a.rdf")
    merge.Document.Pages.InsertRange(merge.Document.Pages.Count, fRdf.Pages)
    fRdf.Load("C:\b.rdf")
    merge.Document.Pages.InsertRange(merge.Document.Pages.Count, fRdf.Pages)
    Me.arv.Document = merge.Document
End Sub
参照

関連項目

PagesCollection クラス
PagesCollection メンバ

 

 


©2003-2017 GrapeCity inc. All rights reserved.