The C1PageSettings type exposes the following members.

Methods

  Name Description
Public method AssignFrom(PageSettings)
Assigns (copies) properties from a PageSettings to the current object.
Public method AssignFrom(C1PageSettings)
Assigns (copies) properties from another C1PageSettings to the current object.
Public method Clone
Creates a copy of the current C1PageSettings object.
Public method Compare(C1PageSettings)
Compares the current C1PageSettings with another C1PageSettings object.
Public method Static member Compare(C1PageSettings, C1PageSettings)
Compares the properties of two C1PageSettings objects.
Public method Static member CreateDefaultPageSettings
Creates a new instance of the C1PageSettings class. If 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.
Public method Static member GetCurrentLocaleDefaultPaperSize
Retrieves the locale-specific default paper size for the current locale.
Public method SetPaperSizes
TBD: Sets Width and Height properties t specified values.
Public method ToPageSettings()()()()
Creates an instance of the PageSettings class, and initializes it with the properties of the current C1PageSettings object.
Public method ToPageSettings(C1PrintDocument)
Creates an instance of the PageSettings class, and initializes it with the properties of the current C1PageSettings object.
Public method ToPageSettings(C1PrintDocument, PrinterSettings)
Creates an instance of the PageSettings class, and initializes it with the properties of the current C1PageSettings object.

Properties

  Name Description
Public property BottomMargin
Gets or sets the bottom margin.
Public property Color
Gets or sets a value indicating whether the document should be printed in color.
Public property Document
Gets the C1PrintDocument object containing current object.
Public property Height
Gets or sets the height of the paper.
Public property Landscape
Gets or sets a value indicating whether to use landscape orientation. Changing this property swaps height and width of the page.
Public property LeftMargin
Gets or sets the left margin.
Public property PageLayout
Gets the PageLayout object containing the current C1PageSettings. Null is returned if the current object does not belong to a PageLayout.
Public property PaperKind
Gets or sets the paper kind. Changing of this property may change Width and/or Height.
Public property PaperSourceKind
Gets or sets the desired paper source kind.
Public property PaperSourceName
Gets or sets the name of the paper source.
Public property PaperSourceRawKind
Gets or sets the integer representing one of the PaperSourceKind values or a custom value.
Public property PrinterResolutionKind
Gets or sets the desired printer resolution kind.
Public property PrinterResolutionX
Gets or sets the horizontal printer resolution, in dots per inch, used when PrinterResolutionKind is Custom.
Public property PrinterResolutionY
Gets or sets the vertical printer resolution, in dots per inch, used when PrinterResolutionKind is Custom.
Public property RightMargin
Gets or sets the right margin.
Public property TopMargin
Gets or sets the top margin.
Public property UsePrinterPaperSize
Gets 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 property Width
Gets or sets the width of the paper.

See Also