ActiveReports 11
Add Method (PagesCollection)
Example 

GrapeCity.ActiveReports.Document.v11 Assembly > GrapeCity.ActiveReports.Document.Section Namespace > PagesCollection Class : Add Method
Adds the specified Page object to the collection.
Overload List
OverloadDescription
Adds a Page object to the end of the PagesCollection.  
Adds a Page object to the end of the PagesCollection.  
Example
int i;
private void Form1_Load(object sender, System.EventArgs e)
{
    rptOne rpt1 = new rptOne();
    rpt1.Run();
    rptTwo rpt2 = new rptTwo();
    rpt2.Run();
    for(i = 0; i < rpt2.Document.Pages.Count; i++)
    {
        rpt1.Document.Pages.Add(rpt2.Document.Pages[i]);
    }
    viewer1.Document = rpt1.Document;
}
Dim i As Integer
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim rpt As New rptOne()
    rpt.Run()
    Dim rpt2 As New rptTwo()
    rpt2.Run()
    For i = 0 To rpt2.Document.Pages.Count - 1
        rpt.Document.Pages.Add(rpt2.Document.Pages(i))
    Next
    Viewer1.Document = rpt.Document
End Sub
See Also

Reference

PagesCollection Class
PagesCollection Members

How To

Insert or Add Pages