AddBookmark Method (Section)
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.
Overload | Description |
AddBookmark | 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. Bookmark text to be displayed in the table of contents treeview. |
private void Detail_Format(object sender, System.EventArgs eArgs)
{
Detail.AddBookmark(txtCategoryName.Text + "\\" + txtProductName.Text);
}
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
Me.Detail.AddBookmark(txtCategoryName.Text + "\" + txtProductName.Text)
End Sub
Reference
Section Class
Section Members
How To
Add Bookmarks