GrapeCity.ActiveReports.Document.v11 アセンブリ > GrapeCity.ActiveReports.Document.Section 名前空間 > Bookmark クラス : Label プロパティ |
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 = "ブックマーク番号: " + 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 arv.Document.Bookmarks.Count viewer1.Document.Bookmarks(i - 1).Label = "ブックマーク番号: " & i Next i End Sub