Share via


ReportPartBookmark Class

Provides properties for the ReportPartBookMark property of the ReportPartBookmarkNavigationEventArgs class.

Namespace CrystalDecisions.CrystalReports.ViewerObjectModel Assembly CrystalDecisions.Shared (CrystalDecisions.Shared.dll)

Syntax

'Declaration
Public Class ReportPartBookmark
    Inherits ReportPartID
    Implements ICloneable
public class ReportPartBookmark : ReportPartID, ICloneable

Remarks

This is the report part bookmark information attached to the report object that the user clicked. The report part navigation will go to the report object, ObjectName, in the data context, DataContext, in the report specified by ReportUri. If the ReportUri is "", the navigation will jump to a report part within the same report.

Example

This example sets the value of two labels. The first label is set to the data context information from the book marked report object. The second label is set to the navigation results of the event.

'Declaration

      Private Sub CrystalReportPartsViewer1_ReportPartBookmarkNavigation _
         (ByVal source As Object, _
         ByVal e As _
         CrystalDecisions.Web.ReportPartBookmarkNavigationEventArgs) _
         Handles CrystalReportPartsViewer1.ReportPartBookmarkNavigation
      
         Label1.Text = "Data Context: " + e.ReportPartBookmark.DataContext _
            + " Object Name: " + e.ReportPartBookmark.ObjectName _
            + " Report URI: " + e.ReportPartBookmark.ReportUri
      
      End Sub 
      
      private void CrystalReportPartsViewer1_ReportPartBookmarkNavigation
         (object source, CrystalDecisions.Web.ReportPartBookmarkNavigationEventArgs e)
      {
         Label1.Text = "Data Context: " + e.ReportPartBookmark.DataContext
            + " Object Name: " + e.ReportPartBookmark.ObjectName
            + " Report URI: " + e.ReportPartBookmark.ReportUri;
      }
      

Inheritance Hierarchy

Object
   ReportPartID
      ReportPartBookmark

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports .NET 9

See Also

Reference

ReportPartBookmark Members
CrystalDecisions.CrystalReports.ViewerObjectModel Namespace