Which Object Model Should I Use?

Before you build an application with the Crystal Reports SDK, you must consider which object model to work with. Learning the SDK fundamentals that affect object model selection helps you choose the best structure for your Crystal Reports for Visual Studio project.

Note

In this documentation, an object model refers to a core class and those classes surrounding it, which form a programming model. In Crystal Reports these object models center around a core class that encapsulates a report definition file. That core class and its surrounding object model enable programmatic interaction with the report.

The Crystal Reports SDK contains four object models for coding reports:

  • CrystalReportViewer object model

  • ReportDocument object model

    Object models available by upgrade:

    • ReportClientDocument object model (Report Application Server)
    • InfoObject object model (supplied with Crystal Reports Server or BusinessObjects Enterprise)

In this section: