ActiveReports 6 Online Help
Insert Method (PagesCollection)
Example 

Inserts the specified page into the collection at the specified index.
Overload List
OverloadDescription
Insert(Int32,Object)  
Insert(Int32,Page)  
Example
private void Form1_Load(object sender, System.EventArgs e)
{
    rptInsertPage rpt = new rptInsertPage();
    rptCoverPage rpt2 = new rptCoverPage();
    viewer1.Document = rpt.Document;
    rpt.Run();
    rpt2.Run();
    rpt.Document.Pages.Insert(0, rpt2.Document.Pages[0]);
}
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim rpt As New rptInsertPage()
    Viewer1.Document = rpt.Document    rpt.Run()
    Dim rpt2 As New rptCoverPage()
    rpt2.Run()
    rpt.Document.Pages.Insert(0, rpt2.Document.Pages(0))
End Sub
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PagesCollection Class
PagesCollection Members

How To

Insert or Add Pages

Send Feedback