Inserts a range of pages into the collection at a specified position.
Overload List
Inserts an array of Page objects into the collection at the specified index.
Inserts the members of the specified PagesCollection into the collection at the specified index.
Example
[C#]
private void button1_Click(object sender, System.EventArgs e) { DataDynamics.ActiveReports.ActiveReport merge = new DataDynamics.ActiveReports.ActiveReport(); DataDynamics.ActiveReports.Document.Document fRdf = new DataDynamics.ActiveReports.Document.Document(); 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; } |
[Visual Basic]
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim merge As New DataDynamics.ActiveReports.ActiveReport
Dim fRdf As New DataDynamics.ActiveReports.Document.Document
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 |
See Also
PagesCollection Class
| PagesCollection Members
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.