[]
Represent the settings of the page.
public class PageSettings
Public Class PageSettings
| Name | Description |
|---|---|
| PageSettings() |
| Name | Description |
|---|---|
| AlignMarginsHeaderFooter | Returns True to align the header and the footer with the margins set in the page setup options. |
| BlackAndWhite | True if elements of the document will be printed in black and white. |
| BottomMargin | Returns or sets the size of the bottom margin, in points. |
| CenterFooter | Returns or sets the alignment of text on the center footer of the page. |
| CenterFooterPicture | Returns a IGraphic object that represents the picture for the center section of the footer. Used to set attributes about the picture. |
| CenterHeader | Returns or sets the alignment of text on the center header of the page. |
| CenterHeaderPicture | Returns a IGraphic object that represents the picture for the center section of the header. Used to set attributes about the picture. |
| CenterHorizontally | True if the sheet is centered horizontally on the page when it's printed. |
| CenterVertically | True if the sheet is centered vertically on the page when it's printed. |
| Draft | True if the sheet will be printed without graphics. |
| FooterMargin | Returns or sets the size of the footer margin, in points. |
| HeaderMargin | Returns or sets the size of the header margin, in points. |
| LeftFooter | Returns or sets the alignment of text on the left footer of the page. |
| LeftFooterPicture | Returns a IGraphic object that represents the picture for the left section of the footer. Used to set attributes about the picture. |
| LeftHeader | Returns or sets the alignment of text on the left header of the page. |
| LeftHeaderPicture | Returns a IGraphic object that represents the picture for the left section of the header. Used to set attributes about the picture. |
| LeftMargin | Returns or sets the size of the left margin, in points. |
| PaperHeight | Represents the height in points of the paper, considered page orientation. |
| PaperWidth | Represents the width in points of the paper, considered page orientation. |
| PrintErrors | Returns or sets an PrintErrors contstant specifying the type of print error displayed. This feature allows users to suppress the display of error values when printing a worksheet. |
| PrintGridlines | True if cell gridlines are printed on the page. Applies only to worksheets. |
| RightFooter | Returns or sets the alignment of text on the right footer of the page. |
| RightFooterPicture | Returns a IGraphic object that represents the picture for the right section of the footer. Used to set attributes of the picture. |
| RightHeader | Returns or sets the alignment of text on the right header of the page. |
| RightHeaderPicture | Returns a IGraphic object that represents the picture for the right section of the header. Used to set attributes of the picture. |
| RightMargin | Returns or sets the size of the right margin, in points. |
| ScaleWithDocHeaderFooter | Returns or sets if the header and footer should be scaled with the document when the size of the document changes. |
| TopMargin | Returns or sets the size of the top margin, in points. |