PageSetup Properties
Free Trial Web API version Licensing Request A Quote
HAVE QUESTIONS OR NEED HELP?SUBMIT THE SUPPORT REQUEST FORM or write email toSUPPORT@BYTESCOUT.COM
The PageSetup type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| BlackAndWhite | Gets or sets a value indicating whether the document is printed in black and white. | |
| BottomMargin | Gets or sets the size of the bottom margin, in points. | |
| CenterFooter | Gets or sets the center part of the footer. | |
| CenterHeader | Gets or sets the center part of the header. | |
| CenterHorizontally | Gets or sets a value indicating whether the sheet is centered horizontally on the page when it's printed. | |
| CenterVertically | Gets or sets a value indicating whether sheet is centered vertically on the page when it's printed. | |
| Copies | Gets or sets the number of copies to print. | |
| Draft | Gets or sets a value indicating whether the sheet will be printed without graphics. | |
| FirstPageNumber | Gets or sets the first page number that will be used when this sheet is printed. | |
| FitToPage | Gets or sets a value indicating when scales the worksheet according to the FitToPagesWide/FitToPagesTall properties. | |
| FitToPagesTall | Gets or sets the number of pages tall the worksheet will be scaled to when it's printed. | |
| FitToPagesWide | Gets or sets the number of pages wide the worksheet will be scaled to when it's printed. | |
| FooterMargin | Gets or sets the distance from the bottom of the page to the footer, in points. | |
| HeaderMargin | Gets or sets the distance from the top of the page to the header, in points. | |
| LeftFooter | Gets or sets the left part of the footer. | |
| LeftHeader | Gets or sets the left part of the header. | |
| LeftMargin | Gets or sets the size of the left margin, in points. | |
| Order | Gets or sets the order that Microsoft Excel uses to number pages when printing a large worksheet. | |
| Orientation | Gets or sets the page orientation. | |
| PaperSize | Gets or sets the size of the paper. | |
| PrintComments | Gets or sets the way comments are printed with the sheet. | |
| PrintErrors | Gets or sets an PrintErrors contstant specifying the type of print error displayed. | |
| PrintGridLines | Gets or sets a value indicating whether gridlines are printed on the page. | |
| PrintHeadings | Gets or sets a value indicating whether row and column headings are printed with this page. | |
| PrintNotes | Gets or sets a value indicating whether cell notes are printed as end notes with the sheet. | |
| PrintQualityHorizontal | Gets or sets the horizontal print resolution of the device in dots per inch (DPI). | |
| PrintQualityVertical | Gets or sets the vertical print resolution of the device in dots per inch (DPI). | |
| RightFooter | Gets or sets the right part of the footer. | |
| RightHeader | Gets or sets the right part of the header. | |
| RightMargin | Gets or sets the size of the right margin, in points. | |
| TopMargin | Gets or sets the size of the top margin, in points. | |
| UseFirstPageNumber | Gets or sets a value indicating whether use FirstPageNumber value for first page number, and do not auto number the pages. | |
| Zoom | Gets or sets the percentage (between 10 and 400 percent) by which Microsoft Excel will scale the worksheet for printing. |
See Also