GrapeCity.ActiveReports.Document.v12 アセンブリ > GrapeCity.ActiveReports.Document 名前空間 > SectionDocument クラス : Bookmarks プロパティ |
'宣言 Public ReadOnly Property Bookmarks As BookmarksCollection
public BookmarksCollection Bookmarks {get;}
private void viewer1_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."); }
Private Sub viewer1_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