IPageSetupBase Properties | 
The IPageSetupBase type exposes the following members.
| Name | Description | |
|---|---|---|
| 
 | 
AutoFirstPageNumber | 
 
Indicates whether FirstPageNumber is set to Auto or not.
 
 | 
| 
 | 
BackgoundImage | 
 
Gets / sets background image.
 
 | 
| 
 | 
BlackAndWhite | 
 
True if elements of the document will be printed in black and white.
Read / write Boolean.
 
 | 
| 
 | 
BottomMargin | 
 
Returns or sets the size of the bottom margin, in inches.
Read / write Double.
 
 | 
| 
 | 
CenterFooter | 
 
Returns or sets the center part of the footer. Read / write String.
 
 | 
| 
 | 
CenterFooterImage | 
 
Gets / set image for center part of the footer.
 
 | 
| 
 | 
CenterHeader | 
 
Returns or sets the center part of the header. Read / write String.
 
 | 
| 
 | 
CenterHeaderImage | 
 
Gets / set image for center part of the header.
 
 | 
| 
 | 
CenterHorizontally | 
 
True if the sheet is centered horizontally on the page when it is
printed. Read / write Boolean.
 
 | 
| 
 | 
CenterVertically | 
 
True if the sheet is centered vertically on the page when it is
printed. Read / write Boolean.
 
 | 
| 
 | 
Copies | 
 
Number of copies to print.
 
 | 
| 
 | 
Draft | 
 
True if the sheet will be printed without graphics.
Read / write Boolean.
 
 | 
| 
 | 
FirstPageNumber | 
 
Returns or sets the first page number that will be used when
this sheet is printed. If xlAutomatic, Microsoft Excel chooses the
first page number. The default is xlAutomatic. Read / write Long.
 
 | 
| 
 | 
FooterMarginInch | 
 
Returns or sets the distance from the bottom of the page to the footer,
in inches. Read / write Double.
 
 | 
| 
 | 
HeaderMarginInch | 
 
Returns or sets the distance from the top of the page to the header,
in inches. Read / write Double.
 
 | 
| 
 | 
LeftFooter | 
 
Returns or sets the left part of the footer. Read / write String.
&L Left aligns the characters that follow.
&C Centers the characters that follow.
&R Right aligns the characters that follow.
&E Turns double-underline printing on or off.
&X Turns superscript printing on or off.
&Y Turns subscript printing on or off.
&B Turns bold printing on or off.
&I Turns italic printing on or off.
&U Turns underline printing on or off.
&S Turns strikethrough printing on or off.
&D Prints the current date.
&T Prints the current time.
&F Prints the name of the document.
&A Prints the name of the workbook tab.
&P Prints the page number.
&P+number Prints the page number plus the specified number.
&P-number Prints the page number minus the specified number.
&& Prints a single ampersand.
& "fontname" Prints the characters that follow in the specified font. Be sure to include the double quotation marks.
&nn Prints the characters that follow in the specified font size. Use a two-digit number to specify a size in points.
&N Prints the total number of pages in the document.
 
 | 
| 
 | 
LeftFooterImage | 
 
Gets / set image for left part of the footer.
 
 | 
| 
 | 
LeftHeader | 
 
Returns or sets the left part of the header. Read / write String.
 
 | 
| 
 | 
LeftHeaderImage | 
 
Gets / set image for left part of the header.
 
 | 
| 
 | 
LeftMargin | 
 
Returns or sets the size of the left margin, in inches.
Read / write Double.
 
 | 
| 
 | 
Order | 
 
Returns or sets the order that Microsoft Excel uses to number
pages when printing a large worksheet. Read / write ExcelOrder.
 
 | 
| 
 | 
Orientation | 
 
Portrait or landscape printing mode. Read / write ExcelPageOrientation.
 
 | 
| 
 | 
PaperSize | 
 
Returns or sets the size of the paper. Read / write ExcelPaperSize.
 
 | 
| 
 | 
Parent | 
 
Gets the parent object of the current instance.
 
(Inherited from
IExcelApplication
.)
 | 
| 
 | 
PrintComments | 
 
Returns or sets the way comments are printed with the sheet.
Read / write ExcelPrintLocation.
 
 | 
| 
 | 
PrintErrors | 
 
Sets or returns an ExcelPrintErrors constant specifying the type of
print error displayed. This feature allows users to suppress the
display of error values when printing a worksheet. Read / write.
 
 | 
| 
 | 
PrintNotes | 
 
True if cell notes are printed as end notes with the sheet. Applies
only to worksheets. Read / write Boolean.
 
 | 
| 
 | 
PrintQuality | 
 
Returns or sets the print quality. Read / write ushort.
 
 | 
| 
 | 
RightFooter | 
 
Returns or sets the right part of the footer. Read / write String.
 
 | 
| 
 | 
RightFooterImage | 
 
Gets / set image for right part of the footer.
 
 | 
| 
 | 
RightHeader | 
 
Returns or sets the right part of the header. Read / write String.
 
 | 
| 
 | 
RightHeaderImage | 
 
Gets / set image for right part of the header.
 
 | 
| 
 | 
RightMargin | 
 
Returns or sets the size of the right margin, in inches.
Read / write Double.
 
 | 
| 
 | 
TopMargin | 
 
Returns or sets the size of the top margin, in inches.
Read / write Double.
 
 | 
| 
 | 
Zoom | 
 
Returns or sets a percentage (between 10 and 400 percent) by which
Microsoft Excel will scale the worksheet for printing. Applies only
to worksheets. Read / write ushort.
 
 |