C1.C1Preview Namespace : C1PageSettings Class |
The following tables list the members exposed by C1PageSettings.
Name | Description | |
---|---|---|
C1PageSettings Constructor | Overloaded. |
Name | Description | |
---|---|---|
BottomMargin | Gets or sets the bottom margin. | |
Color | Gets or sets a value indicating whether the document should be printed in color. | |
Height | Gets or sets the height of the paper. | |
Landscape | Gets or sets a value indicating whether to use landscape orientation. Changing this property swaps height and width of the page. | |
LeftMargin | Gets or sets the left margin. | |
PaperKind | Gets or sets the paper kind. Changing of this property may change C1PageSettings.Width and/or C1PageSettings.Height. | |
PaperSourceKind | Gets or sets the desired paper source kind. | |
PaperSourceName | Gets or sets the name of the paper source. | |
PaperSourceRawKind | Gets or sets the integer representing one of the PaperSourceKind values or a custom value. | |
PrinterResolutionKind | Gets or sets the desired printer resolution kind. | |
PrinterResolutionX | Gets or sets the horizontal printer resolution, in dots per inch, used when C1PageSettings.PrinterResolutionKind is Custom. | |
PrinterResolutionY | Gets or sets the vertical printer resolution, in dots per inch, used when C1PageSettings.PrinterResolutionKind is Custom. | |
RightMargin | Gets or sets the right margin. | |
TopMargin | Gets or sets the top margin. | |
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 C1PageSettings.Landscape, C1PageSettings.Width, C1PageSettings.Height and C1PageSettings.PaperKind properties. | |
Width | Gets or sets the width of the paper. |
Name | Description | |
---|---|---|
AssignFrom | Overloaded. Assigns (copies) properties from another C1PageSettings to the current object. | |
Clone | Creates a copy of the current C1PageSettings object. | |
Compare | Overloaded. Compares the current C1PageSettings with another C1PageSettings object. | |
CreateDefaultPageSettings | 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. | |
GetCurrentLocaleDefaultPaperSize | Retrieves the locale-specific default paper size for the current locale. | |
IsSameLayout | Compares page layout specified by the current C1PageSettings with layout of another C1PageSettings object. | |
SetPaperSizes | Sets the C1PageSettings.Width and the C1PageSettings.Height to specified values. | |
ToPageSettings | Overloaded. Creates an instance of the System.Drawing.Printing.PageSettings class, and initializes it with the properties of the current C1PageSettings object. |