The XLPrintSettings type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
XLPrintSettings |
Creates a new instance of the XLPrintSettings class.
|
Methods
| Name | Description | |
|---|---|---|
|
|
Clone |
Creates a new XLPrintSettings object that is a copy of the current instance.
|
|
|
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
|
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
ToString |
Returns a string that represents the current object. (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
|
|
AutoScale |
Gets or sets the scaling mode used for printed output.
|
|
|
BlackAndWhite |
Gets or sets whether to print the sheet in monochrome mode.
|
|
|
CenterHorizontal |
Gets or sets whether the sheet should be centered horizontally on the page when printed.
|
|
|
CenterVertical |
Gets or sets whether the sheet should be centered vertically on the page when printed.
|
|
|
Copies |
Gets or sets the number of copies to print.
|
|
|
DraftQuality |
Gets or sets whether to print the sheet in draft quality mode.
|
|
|
FitPagesAcross |
Fit the sheet to this number of pages across (0 means use as many as needed).
|
|
|
FitPagesDown |
Fit the sheet to this number of pages down (0 means use as many as needed).
|
|
|
Footer |
Gets or sets the string to be displayed as a page footer when the sheet is printed.
|
|
|
Header |
Gets or sets the string to be displayed as a page header when the sheet is printed.
|
|
|
Landscape |
Gets or sets whether to print the sheet in landscape mode.
|
|
|
MarginBottom |
Gets or sets the bottom margin, in inches. Set to a negative value to use the default margin.
|
|
|
MarginFooter |
Gets or sets the footer margin, in inches. Set to a negative value to use the default margin.
|
|
|
MarginHeader |
Gets or sets the header margin, in inches. Set to a negative value to use the default margin.
|
|
|
MarginLeft |
Gets or sets the left margin, in inches. Set to a negative value to use the default margin.
|
|
|
MarginRight |
Gets or sets the right margin, in inches. Set to a negative value to use the default margin.
|
|
|
MarginTop |
Gets or sets the top margin, in inches. Set to a negative value to use the default margin.
|
|
|
PaperKind |
Gets or sets the paper size to use when printing the sheet.
|
|
|
PrintGridlines |
Gets or sets whether the gridlines will be printed.
|
|
|
PrintHeaders |
Gets or sets whether row and column headers (the areas with row numbers and column letters) will be printed.
|
|
|
PrintPagesInRows |
Gets or sets whether to print the pages in rows (across first) or in columns (down first).
|
|
|
ScalingFactor |
Gets or sets the scaling factor (in percent) to use when printing the sheet.
|
|
|
StartPage |
Gets or sets the initial page number to use when printing the sheet.
|