Adds a bookmark in the report's table of contents. The bookmark will position the view at the start of the section if the bookmark is added in the section's Format event.
[Visual Basic]
Public Sub AddBookmark( _
ByVal text As String _
)
[C#]
public void AddBookmark(
string text
);
This method is used while the report is running. The method should be called in either the section's Format or BeforePrint events.
Calling this method in the Format event of the section creates a bookmark at the top of the section. Calling the method in the BeforePrint event of the section creates a bookmark at the bottom of the section.
[C#]
private void Detail_Format(object sender, System.EventArgs eArgs) |
[Visual Basic]
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format |
Section Class | Section Members | Walkthrough: Bookmarks with Simple Reports
Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.