Reports for WinForms | ComponentOne
Working with C1MultiDocument / Printing a C1MultiDocument File
In This Topic
    Printing a C1MultiDocument File
    In This Topic

    C1MultiDocument can be printed using any of the Print and PrintDialog methods overloads. For example, the following code opens a Print dialog box.

    To write code in Visual Basic

    Visual Basic
    Copy Code
    Me.C1MultiDocument1.PrintDialog()
    

    To write code in C#

    C#
    Copy Code
    this.c1MultiDocument1.PrintDialog();
    

    If you include the above code in a button's Click event handler, the Print dialog box will appear when the button is clicked at run time.