PowerTools ActiveReports for .NET 11.0J
AddBookmark(String,Single) メソッド
使用例 

構文
'宣言
 
Public Function AddBookmark( _
   ByVal strBookmark As String, _
   ByVal offset As Single _
) As Integer
public int AddBookmark( 
   string strBookmark,
   float offset
)

パラメータ

strBookmark
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
参照

関連項目

Page クラス
Page メンバ

 

 


©2003-2017 GrapeCity inc. All rights reserved.