CrystalReportViewer Class

Provides properties, methods, and events that modify or retrieve information about how the CrystalReportViewer control appears and functions.

Namespace CrystalDecisions.Windows.Forms Assembly CrystalDecisions.Windows.Forms (CrystalDecisions.Windows.Forms.dll)

Syntax

'Declaration
Public Class CrystalReportViewer
    Inherits UserControl
    Implements IComponent, IDisposable, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IContainerControl, ICrystalReportViewer
public class CrystalReportViewer : UserControl, IComponent, IDisposable, IOleControl, IOleObject, IOleInPlaceObject, IOleInPlaceActiveObject, IOleWindow, IViewObject, IViewObject2, IPersist, IPersistStreamInit, IPersistPropertyBag, IPersistStorage, IQuickActivate, ISupportOleDropSource, IDropTarget, ISynchronizeInvoke, IWin32Window, IArrangedElement, IBindableComponent, IContainerControl, ICrystalReportViewer

Remarks

The CrystalReportViewer control allows a Crystal report to be viewed in an application. The ReportSource property is used to set which report is to be viewed. Once this property is set, the report will be shown in the CrystalReportViewer control. The source of the report can either be a ReportDocument, a path to the report file, or a strongly typed report.

For more information on using the CrystalReportViewer control, see Report Viewers and Project Setup for creating a Windows project.

Inheritance Hierarchy

Object
   MarshalByRefObject
      Component
         Control
            ScrollableControl
               ContainerControl
                  UserControl
                     CrystalReportViewer

Version Information

Crystal Reports Basic for Visual Studio 2008

Supported since: Crystal Reports for Visual Studio .NET 2002

See Also

Reference

CrystalReportViewer Members
CrystalDecisions.Windows.Forms Namespace