[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Printing.IPageSetup

IPageSetup Interface

Represents the page setup object contains all page setup attributes (left margin, bottom margin, paper size, and so on) as properties.

Namespace: GrapeCity.Spreadsheet.Printing
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public interface IPageSetup
Public Interface IPageSetup

Properties

Name Description
AlignMarginsHeaderFooter

Gets or sets a value indicating whether the header and the footer are aligned with the margins set in the page setup options.

BlackAndWhite

Gets or sets a value indicating whether elements of the document will be printed in black and white.

BottomMargin

Gets or sets the size of the bottom margin, in inches.

CellComments

Gets or sets a CellComments constant specifying the type of print cell comments displayed. This feature allows users to suppress the display of cell comments when printing a worksheet.

CenterFooter

Gets or sets a value indicating whether a picture or text to be center-aligned in the page footer.

CenterFooterPicture

Gets or set an IGraphic object that represents the picture for the center section of the footer. Used to set attributes about the picture.

CenterHeader

Gets or sets a value indicating whether a picture or text to be center-aligned in the page header.

CenterHeaderPicture

Gets or set an IGraphic object that represents the picture for the center section of the header. Used to set attributes about the picture.

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 the sheet is centered vertically on the page when it's printed.

Collated

Gets or sets a value indicating whether the printed document is collated.

DifferentFirstPageHeaderFooter

Gets or sets a value indicating whether the different header or footer is used on the first page.

Draft

Gets or sets a value indicating whether the sheet will be printed without graphics.

EvenPage

Gets or sets a GrapeCity.Spreadsheet.Printing.PageSetup value indicating whether the alignment of text on the even page of a worksheet or section. A GrapeCity.Spreadsheet.Printing.PageSetup value specifying the alignment of text on the even page.

FirstPage

Gets or sets a GrapeCity.Spreadsheet.Printing.PageSetup value indicating whether the alignment of text on the first page of a worksheet or section.

FirstPageNumber

Gets or sets the first page number that will be used when this sheet is printed.

FitToPages

Gets or sets a boolean value indicating whether the worksheet will be scaled to fit to the specified number of pages when it's printed.

FitToPagesTall

Gets or sets a value indicating the number of pages tall the worksheet will be scaled to when it's printed.

FitToPagesWide

Gets or sets a value indicating 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 inches.

HeaderMargin

Gets or sets the distance from the top of the page to the header, in inches.

LeftFooter

Gets or sets a value indicating whether a picture or text to be left-aligned in the page footer.

LeftFooterPicture

Gets or set an IGraphic object that represents the picture for the left section of the footer. Used to set attributes about the picture.

LeftHeader

Gets or sets a value indicating whether a picture or text to be left-aligned in the page header.

LeftHeaderPicture

Gets or set an IGraphic object that represents the picture for the left section of the header. Used to set attributes about the picture.

LeftMargin

Gets or sets the size of the left margin, in inches.

NumberOfCopies

Gets or sets the number of copies to print.

OddAndEvenPagesHeaderFooter

Gets or sets a value indicating whether the specified PageSetup object has different headers and footers for odd-numbered and even-numbered pages.

Order

Gets or sets an Order value that represents the order that Microsoft Excel uses to number pages when printing a large worksheet.

Orientation

Gets or sets a PageOrientation value that represents the portrait or landscape printing mode.

PaperSize

Gets or sets the size of the paper.

PrintArea

Gets or sets the range to be printed.

PrintErrors

Gets or sets a PrintErrors constant specifying the type of print error displayed. This feature allows users to suppress the display of error values when printing a worksheet.

PrintGridlines

Gets or sets a value indicating whether cell gridlines are printed on the page.

PrintHeadings

Gets or sets a value indicating whether row and column headings are printed with this page.

PrintTitleColumns

Gets or sets a value indicating the columns that contain the cells to be repeated on the left side of each page.

PrintTitleRows

Gets or sets a value indicating the rows that contain the cells to be repeated on the left side of each page.

RightFooter

Gets or sets a value indicating whether a picture or text to be right-aligned in the page footer.

RightFooterPicture

Gets or set an IGraphic object that represents the picture for the right section of the footer. Used to set attributes about the picture.

RightHeader

Gets or sets a value indicating whether a picture or text to be right-aligned in the page header.

RightHeaderPicture

Gets or set an IGraphic object that represents the picture for the right section of the header. Used to set attributes about the picture.

RightMargin

Gets or sets the size of the right margin, in inches.

ScaleWithDocHeaderFooter

Gets or sets a value indicating whether the header and footer should be scaled with the document when the size of the document changes.

TopMargin

Gets or sets the size of the top margin, in inches.

Zoom

Gets or sets the percentage scale of the worksheet for printing.