GrapeCity.ActiveReports.Document.v9 アセンブリ > GrapeCity.ActiveReports.Document.Section 名前空間 > Page クラス : AddBookmark(String,Single) メソッド |
'宣言 Public Function AddBookmark( _ ByVal strBookmark As String, _ ByVal offset As Single _ ) As Integer
public int AddBookmark( string strBookmark, float offset )
private void SectionReport1_ReportEnd(object sender, System.EventArgs eArgs) { for(int i = 0; i<Document.Pages.Count;i++) { this.Document.Pages[i].AddBookmark("New Bookmark", 25); } }
Private Sub SectionReport1_ReportEnd(ByVal sender As Object, ByVal e As System.EventArgs) Handles SectionReport1.ReportEnd Dim i As Integer Try For i = 0 To Me.Document.Pages.Count - 1 Me.Document.Pages(i).AddBookmark("New Bookmark", 8) Next Catch ex As Exception End Try End Sub