言語はVBになります。
タイトル「複数レイアウトの作成について」(2016年の投稿)を元に作成しようとしているのですが、「pages1.addAll(pages2) 」の部分でエラーになってしまい困っています。
Dim report1 As New Report(Json.Read("example1.rrpt"))
report1.Fill(New ReportDataSource(dataTable1))
Dim pages1 As ReportPages = report1.GetPages()
Dim report2 As New Report(Json.Read("example1.rrpt"))
report2.Fill(New ReportDataSource(dataTable2))
Dim pages2 As ReportPages = report2.GetPages()
pages1.addAll(pages2)
こちらは、現在 ReportPages クラスの仕様として、addAllメソッドをサポートしていないことに起因するものと思料いたします。
現在のプログラムの書き方をご教示願います。
どうぞよろしくお願いいたします。