ActiveReports 13
PageNumber Property (Bookmark)
Example 

GrapeCity.ActiveReports.Document Assembly > GrapeCity.ActiveReports.Document.Section Namespace > Bookmark Class : PageNumber Property
Gets or sets the page number to which the bookmark was added.
Syntax
'Declaration
 
Public Property PageNumber As Integer
public int PageNumber {get; set;}

Property Value

Integer.
Example
private void viewer1_TableOfContentsClick(object sender, System.EventArgs e)
{
    int toc;
    toc = viewer1.Document.Bookmarks.CurrentBookmark;
    MessageBox.Show ("You are leaving the bookmark at page " + viewer1.Document.Bookmarks[toc].PageNumber.ToString() + ", " + viewer1.Document.Bookmarks[toc].Offset.ToString() + " inches from the top of the page.");
}
Private Sub viewer1_TableOfContentsClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles arv.TableOfContentsClick
    Dim toc As Integer
    toc = viewer1.Document.Bookmarks.CurrentBookmark
    MessageBox.Show("You are leaving the bookmark at page " & viewer1.Document.Bookmarks(toc).PageNumber.ToString & ", " & viewer1.Document.Bookmarks(toc).Offset.ToString & " inches from the top of the page.")
End Sub
See Also

Reference

Bookmark Class
Bookmark Members