PowerTools ActiveReports for .NET 11.0J
CurrentBookmark プロパティ
使用例 

構文
'宣言
 
Public Property CurrentBookmark As Integer
public int CurrentBookmark {get; set;}
使用例
private void arv_TableOfContentsClick(object sender, System.EventArgs e)
{
    int toc;
    toc = arv.Document.Bookmarks.CurrentBookmark;
    MessageBox.Show ("ブックマークは先頭から" + arv.Document.Bookmarks[toc].Offset.ToString + "インチの距離でページ" + arv.Document.Bookmarks[toc].PageNumber.ToString + "にあります。");
}
Private Sub arv_TableOfContentsClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles arv.TableOfContentsClick
    Dim toc As Integer
    toc = arv.Document.Bookmarks.CurrentBookmark
    MessageBox.Show("ブックマークは先頭から" & arv.Document.Bookmarks(toc).Offset.ToString & "インチの距離でページ" & arv.Document.Bookmarks(toc).PageNumber.ToString & "にあります。")
End Sub
参照

関連項目

BookmarksCollection クラス
BookmarksCollection メンバ

 

 


©2003-2017 GrapeCity inc. All rights reserved.