Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.8 Assembly / C1.Win.C1Document Namespace / C1PageSettings Class / ToPageSettings Method
A System.Drawing.Printing.PrinterSettings object used to create the resulting System.Drawing.Printing.PageSettings. If null, the default printer is used.

In This Topic
    ToPageSettings Method (C1PageSettings)
    In This Topic
    Creates an instance of the System.Drawing.Printing.PageSettings class, and initializes it with the properties of the current C1PageSettings object.
    Syntax
    'Declaration
     
    Public Function ToPageSettings( _
       ByVal printerSettings As PrinterSettings _
    ) As PageSettings
    public PageSettings ToPageSettings( 
       PrinterSettings printerSettings
    )

    Parameters

    printerSettings
    A System.Drawing.Printing.PrinterSettings object used to create the resulting System.Drawing.Printing.PageSettings. If null, the default printer is used.

    Return Value

    The newly created System.Drawing.Printing.PageSettings object.
    See Also