The C1PageSettings type exposes the following members.
Methods
Name | Description | |
---|---|---|
AssignFrom(PageSettings) |
Assigns (copies) properties from a PageSettings to the current object.
|
|
AssignFrom(C1PageSettings) |
Assigns (copies) properties from another C1PageSettings to the current object.
|
|
Clone |
Creates a copy of the current C1PageSettings object.
|
|
Compare(C1PageSettings) |
Compares the current C1PageSettings with another C1PageSettings object.
|
|
Compare(C1PageSettings, C1PageSettings) |
Compares the properties of two C1PageSettings objects.
|
|
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.
|
|
GetCurrentLocaleDefaultPaperSize |
Retrieves the locale-specific default paper size for the current locale.
|
|
SetPaperSizes | ||
ToPageSettings()()()() |
Creates an instance of the PageSettings class,
and initializes it with the properties of the current C1PageSettings object.
|
|
ToPageSettings(C1PrintDocument) |
Creates an instance of the PageSettings class,
and initializes it with the properties of the current C1PageSettings object.
|
|
ToPageSettings(C1PrintDocument, PrinterSettings) |
Creates an instance of the PageSettings class,
and initializes it with the properties of the current C1PageSettings object.
|
Properties
Name | Description | |
---|---|---|
BottomMargin |
Gets or sets the bottom margin.
|
|
Color |
Gets or sets a value indicating whether the document should be printed in color.
|
|
Document |
Gets the C1PrintDocument object containing current object.
|
|
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.
|
|
PageLayout |
Gets the PageLayout object containing the current C1PageSettings.
Null is returned if the current object does not belong to a PageLayout.
|
|
PaperKind | ||
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 PrinterResolutionKind is Custom.
|
|
PrinterResolutionY |
Gets or sets the vertical printer resolution, in dots per inch,
used when PrinterResolutionKind is Custom.
|
|
RightMargin |
Gets or sets the right margin.
|
|
TopMargin |
Gets or sets the top margin.
|
|
UsePrinterPaperSize | ||
Width |
Gets or sets the width of the paper.
|