PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / C1PageSettings Class
Properties Methods


In This Topic
    C1PageSettings Class Members
    In This Topic

    The following tables list the members exposed by C1PageSettings.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the bottom margin.  
    Public PropertyGets or sets a value indicating whether the document should be printed in color.  
    Public PropertyGets the C1PrintDocument object containing current object.  
    Public PropertyGets or sets the height of the paper.  
    Public PropertyGets or sets a value indicating whether to use landscape orientation. Changing this property swaps height and width of the page.  
    Public PropertyGets or sets the left margin.  
    Public PropertyGets the PageLayout object containing the current C1PageSettings. Null is returned if the current object does not belong to a PageLayout.  
    Public PropertyGets or sets the paper kind. Changing of this property may change Width and/or Height.  
    Public PropertyGets or sets the desired paper source kind.  
    Public PropertyGets or sets the name of the paper source.  
    Public PropertyGets or sets the integer representing one of the PaperSourceKind values or a custom value.  
    Public PropertyGets or sets the desired printer resolution kind.  
    Public PropertyGets or sets the horizontal printer resolution, in dots per inch, used when PrinterResolutionKind is Custom.  
    Public PropertyGets or sets the vertical printer resolution, in dots per inch, used when PrinterResolutionKind is Custom.  
    Public PropertyGets or sets the right margin.  
    Public PropertyGets or sets the top margin.  
    Public PropertyGets or sets a value indicating whether to use the printer paper size when generating the document. This property does not affect the values of Landscape, Width, Height and PaperKind properties.  
    Public PropertyGets or sets the width of the paper.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Assigns (copies) properties from another C1PageSettings to the current object.  
    Public MethodCreates a copy of the current C1PageSettings object.  
    Public MethodOverloaded. Compares the current C1PageSettings with another C1PageSettings object.  
    Public Methodstatic (Shared in Visual Basic)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 C1PrintDocument.MeasurementPrinterName). Otherwise, initializes the newly created object with default system locale settings.  
    Public Methodstatic (Shared in Visual Basic)Retrieves the locale-specific default paper size for the current locale.  
    Public Methodstatic (Shared in Visual Basic)Gets a value indicating whether the specified PaperKind is known and defined in the PaperKind enumeration.  
    Public MethodCompares page layout specified by the current C1PageSettings with layout of another C1PageSettings object.  
    Public MethodSets the Width and the Height to specified values.  
    Public MethodOverloaded. Creates an instance of the System.Drawing.Printing.PageSettings class, and initializes it with the properties of the current C1PageSettings object.  
    Top
    See Also