PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PageSettings Class / CreateDefaultPageSettings Method

In This Topic
    CreateDefaultPageSettings Method (C1PageSettings)
    In This Topic
    Creates a new instance of the C1PageSettings class. If C1PrintDocument.UsePrinterForDefaultPageSettings is true, initializes the newly created object with settings based on the current printer (specified by MeasurementPrinterName). Otherwise, initializes the newly created object with default system locale settings.
    Syntax
    'Declaration
     
    Public Shared Function CreateDefaultPageSettings() As C1PageSettings
    public static C1PageSettings CreateDefaultPageSettings()

    Return Value

    The newly created C1PageSettings object.
    See Also