Reports for WinForms | ComponentOne
In This Topic
    Reports for WinForms Components and Controls
    In This Topic

    Please note that though the functionality is similar to the old version of the product, the object model of both the C1PrintDocument component and the print preview control have been significantly changed, so the new components are not binary- or code-compatible with the old components.

    Reports for WinForms consists of the following assemblies:

    C1.C1Report.4.dll

    C1.C1Report.4.dll provides the C1PrintDocument and C1Report components and other public classes providing non-Windows Forms specific services, such as export and more. Components in this assembly include:

    • C1Report
      The C1Report component generates data-based banded reports. Render reports directly to a printer or preview control, or export to various portable formats (including XLS, PDF, PDF/A (level 2B), HTML, text, and images). The component exposes a rich object model for creating, customizing, loading, and saving report definitions.
    • C1PrintDocument
      The C1PrintDocument component allows you to create complex documents that can be printed, previewed, persisted in a disc file, or exported to a number of external formats including PDF (Portable Document Format) and RTF (Rich Text File).
    • C1MultiDocument
      The C1MultiDocument component is designed to allow creating, persisting and exporting large documents that cannot be handled by a single C1PrintDocument object due to memory limitations.
    • C1RdlReport
      C1RdlReport allows you to generate RDL reports that can consume any data source (such as .mdb files) not only SQL server data as Microsoft Reporting Services. The C1RdlReport component supports RDL files based on the RDL 2008 specifications.

    This assembly does not reference other ComponentOne DLL files. Most of the classes in this assembly are in the C1.C1Preview, C1.C1Report, and C1.C1Rdl.Rdl2008 namespaces.

    C1.Win.C1Report.4.dll

    C1.Win.C1Report.4.dll provides Windows Forms controls that can work with C1PrintDocument and other types of documents, including:

    • C1PreviewPane
      The preview pane. This control shows the pages of the document being previewed, allows panning, zooming and other preview operations. In the forms designer, standard toolbars and status bar can be created on the current form via context menu items.
    • C1PrintPreviewControl
      The integrated print preview control. Contains the preview pane, toolbars with the standard preview related operations, navigation panel with thumbnails and outline pages, and the collapsible text search panel.
    • C1PrintPreviewDialog
      A dialog box form with the nested print preview control.
    • C1PreviewThumbnailView
      Panel that can be attached to a preview pane (via the PreviewPane property) to show the navigation page thumbnails.
    • C1PreviewOutlineView
      Panel that can be attached to a preview pane (via the PreviewPane property) to show the document outline.
    • C1PreviewTextSearchPanel
      Panel that can be attached to a preview pane (via the PreviewPane property) to perform text search in the document.

    This assembly references C1.C1PrintDocument. Most of the classes in this assembly are in the C1.Win.C1Preview namespace.

    Included Applications

    In addition to the reporting components and controls included, Reports for WinForms includes two stand-alone applications, C1ReportDesigner and C1ReportsScheduler:

    • C1ReportDesigner
      The C1ReportDesigner application is a tool used for creating and editing C1Report report definition files. The Designer allows you to create, edit, load, and save files (XML) that can be read by the C1Report component.
    • C1ReportsScheduler
      C1ReportsScheduler is a stand-alone application used to schedule report creation to run in the background. Using the C1ReportsScheduler application, you can choose what reports to export or print, formats to export the report to, and the schedule and frequency for creating reports.

    This product requires .NET version 2.0 or later.