Name | Description | |
---|---|---|
XLPrintSettings Constructor | Creates a new instance of the XLPrintSettings class. |
The following tables list the members exposed by XLPrintSettings.
Name | Description | |
---|---|---|
XLPrintSettings Constructor | Creates a new instance of the XLPrintSettings class. |
Name | Description | |
---|---|---|
AlignWithMargins | Gets or sets the align header/footer with page margins used for printed output. | |
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. | |
FooterEven | Gets or sets the string to be displayed as a even page footer when the sheet is printed. | |
FooterFirst | Gets or sets the string to be displayed as a first 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. | |
HeaderEven | Gets or sets the string to be displayed as a even page header when the sheet is printed. | |
HeaderFirst | Gets or sets the string to be displayed as a first 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). | |
ScaleWithDocument | Gets or sets the scales header/footer with document used for printed output. | |
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. |
Name | Description | |
---|---|---|
Clone | Creates a new XLPrintSettings object that is a copy of the current instance. |