Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.5.2 Assembly / C1.Win.C1Editor Namespace / C1Editor Class / Print Method / Print(Boolean,String) Method
Determines whether a printer selection dialog box is displayed.
File name of a print template.

In This Topic
    Print(Boolean,String) Method
    In This Topic

    Prints the current document.

    Syntax
    'Declaration
     
    Public Overloads Sub Print( _
       ByVal selectPrinter As System.Boolean, _
       ByVal printTemplateFileName As System.String _
    ) 
    public void Print( 
       System.bool selectPrinter,
       System.string printTemplateFileName
    )

    Parameters

    selectPrinter
    Determines whether a printer selection dialog box is displayed.
    printTemplateFileName
    File name of a print template.
    Remarks
    If selectPrinter is True, the Print dialog box opens before printing, so the user can select a printer and change settings. If selectPrinter is False, then the current page is printed. The specified print template is used. For details about print templates see http://msdn.microsoft.com/en-us/library/aa753279(VS.85).aspx
    See Also