ActiveReports 11
Label Property (Bookmark)
Example 

GrapeCity.ActiveReports.Document.v11 Assembly > GrapeCity.ActiveReports.Document.Section Namespace > Bookmark Class : Label Property
Gets or sets the caption of the bookmark.
Syntax
'Declaration
 
Public Property Label As String
public string Label {get; set;}

Property Value

String.
Remarks

The name can be a simple string or a path to create a hierarchy.  For example, "Entry 1" is a node with no parent, "Entry 1\Child 1.1" is a bookmark node with a caption "Child 1.1" whose parent is "Entry 1".

Example
Private void viewer1_Load(object sender, System.EventArgs e)
{
    rptDocument rpt = New rptDocument();
    rpt.Run();
    viewer1.Document=rpt.Document;
    int i;
    For (i = 1; i <= viewer1.Document.Bookmarks.Count; i++) 
    { 
        viewer1.Document.Bookmarks[i - 1].Label = "Bookmark number " + i; 
    }
}
Private Sub viewer1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    Dim rpt As New rptDocument
    rpt.Run()
    viewer1.Document = rpt.Document
    Dim i As Integer
    For i = 1 To viewer1.Document.Bookmarks.Count
        viewer1.Document.Bookmarks(i - 1).Label = "Bookmark number " & i
    Next i
End Sub
See Also

Reference

Bookmark Class
Bookmark Members