PowerTools ActiveReports for .NET 11.0J
Label プロパティ (Bookmark)
使用例 

構文
'宣言
 
Public Property Label As String
public string Label {get; set;}
使用例
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
参照

関連項目

Bookmark クラス
Bookmark メンバ

 

 


©2003-2017 GrapeCity inc. All rights reserved.