[]
Represents page setup information for a worksheet such as margins, paper size, etc...
public class PageSetup
Name | Description |
---|---|
FirstPageNumberAuto | Use this value with PageSetup.FirstPageNumber to specify that the first used page number should be determined automatically. |
MaxMarginValue |
Name | Description |
---|---|
BlackAndWhite | Gets or sets whether this document should be printed in color or in black and white mode. |
BottomMargin | Gets or sets the value of the bottom margin in points. |
Draft | Gets or sets whether this document should be printed with or without any graphics. |
FirstPageNumber | Gets or sets the first page number to be used when printing this sheet. If PageSetup.FirstPageNumberAuto is the value (default), the first page number is selected automatically. |
FitToPage | Gets whether the FitToPage option should be selected. |
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 width to which the worksheet will be scaled 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. |
LeftMargin | Gets or sets the value of the left margin in points. |
Order | Gets or sets the order in which pages are numbered when printing a large worksheet. |
Orientation | Gets or sets whether pages are printed in landscape or portrait orientation. |
PaperSize | Gets or sets the size of the paper to be printed on. |
PrintNotes | Gets or sets whether cell notes should be printed as end notes with the sheet or not. |
RightMargin | Gets or sets the value of the right margin in points. |
TopMargin | Gets or sets the value of the top margin in points. |
Zoom | Gets or sets the zoom level. |