See Also

Document Class  | Document Members  | Bookmark Class

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

Bookmarks Property

Gets or sets a reference to the document's bookmarks.

[Visual Basic]
Public ReadOnly Property Bookmarks As BookmarksCollection
[C#]
public BookmarksCollection Bookmarks {get;}

Example

[C#] 

private void arv_Load(object sender, System.EventArgs e) 

    rptDocument rpt = new rptDocument(); 
    rpt.Run(); 
    arv.Document=rpt.Document; 
    MessageBox.Show("There are " + arv.Document.Bookmarks.Count.ToString() + " bookmarks."); 
}

[Visual Basic] 

Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    Dim rpt As New rptDocument
    rpt.Run()
    arv.Document = rpt.Document
    MsgBox("There are " & arv.Document.Bookmarks.Count.ToString & " bookmarks.")
End Sub

See Also

Document Class  | Document Members  | Bookmark Class

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.