Reports for WPF | ComponentOne
Reports for WPF Overview / C1DocumentViewer Overview
In This Topic
    C1DocumentViewer Overview
    In This Topic

    The C1DocumentViewer is a WPF control derived from the standard WPF System.Windows.Controls.DocumentViewer control. In addition to the features of the base control, it exposes two public dependency properties that simplify its use when previewing C1Report and C1PrintDocument documents:

    Gets or sets the name of the report definition file, or of the C1PrintDocument (C1D or C1DX) file.

    Gets or sets the name of the report to show.

    These properties work both at run time and at design time, but at design time the size of the report is limited to 4 pages (this does not apply to C1D/C1DX documents).

    The C1DocumentViewer can be placed on the Visual Studio Toolbox and then dropped onto the WPF window or page. In addition to actually creating the document viewer on your window/page, this does two other important things:

    See Also