To programmatically add a new C1OutPage to the C1OutBar, complete the following steps:
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Imports C1.Win.C1Command |
To write code in C#
C# |
Copy Code
|
---|---|
using C1.Win.C1Command; |
To write code in Visual Basic
Visual Basic |
Copy Code
|
---|---|
Dim outpage1 As New C1.Win.C1Command.C1OutPage() Outpage1.Text = "New Page" Me.c1OutBar1.Pages.Add(outpage1) |
To write code in C#
C# |
Copy Code
|
---|---|
C1.Win.C1Command.C1OutPage outpage1 = new C1.Win.C1Command.C1OutPage(); outpage1.Text = "New Page"; this.c1OutBar1.Pages.Add(outpage1); |