[]
Represent the settings of the page.
public class PageSettings
public PageSettings()
Returns True to align the header and the footer with the margins set in the page setup options.
public bool AlignMarginsHeaderFooter { get; set; }
True if elements of the document will be printed in black and white.
public bool BlackAndWhite { get; set; }
Returns or sets the size of the bottom margin, in points.
public double BottomMargin { get; set; }
Returns or sets the alignment of text on the center footer of the page.
public string CenterFooter { get; set; }
Returns a IGraphic object that represents the picture for the center section of the footer. Used to set attributes about the picture.
public IGraphic CenterFooterPicture { get; set; }
Returns or sets the alignment of text on the center header of the page.
public string CenterHeader { get; set; }
Returns a IGraphic object that represents the picture for the center section of the header. Used to set attributes about the picture.
public IGraphic CenterHeaderPicture { get; set; }
True if the sheet is centered horizontally on the page when it's printed.
public bool CenterHorizontally { get; set; }
True if the sheet is centered vertically on the page when it's printed.
public bool CenterVertically { get; set; }
True if the sheet will be printed without graphics.
public bool Draft { get; set; }
Returns or sets the size of the footer margin, in points.
public double FooterMargin { get; set; }
Returns or sets the size of the header margin, in points.
public double HeaderMargin { get; set; }
Returns or sets the alignment of text on the left footer of the page.
public string LeftFooter { get; set; }
Returns a IGraphic object that represents the picture for the left section of the footer. Used to set attributes about the picture.
public IGraphic LeftFooterPicture { get; set; }
Returns or sets the alignment of text on the left header of the page.
public string LeftHeader { get; set; }
Returns a IGraphic object that represents the picture for the left section of the header. Used to set attributes about the picture.
public IGraphic LeftHeaderPicture { get; set; }
Returns or sets the size of the left margin, in points.
public double LeftMargin { get; set; }
Represents the height in points of the paper, considered page orientation.
public double PaperHeight { get; set; }
Represents the width in points of the paper, considered page orientation.
public double PaperWidth { get; set; }
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.
public PrintErrors PrintErrors { get; set; }
True if cell gridlines are printed on the page. Applies only to worksheets.
public bool PrintGridlines { get; set; }
Returns or sets the alignment of text on the right footer of the page.
public string RightFooter { get; set; }
Returns a IGraphic object that represents the picture for the right section of the footer. Used to set attributes of the picture.
public IGraphic RightFooterPicture { get; set; }
Returns or sets the alignment of text on the right header of the page.
public string RightHeader { get; set; }
Returns a IGraphic object that represents the picture for the right section of the header. Used to set attributes of the picture.
public IGraphic RightHeaderPicture { get; set; }
Returns or sets the size of the right margin, in points.
public double RightMargin { get; set; }
Returns or sets if the header and footer should be scaled with the document when the size of the document changes.
public bool ScaleWithDocHeaderFooter { get; set; }
Returns or sets the size of the top margin, in points.
public double TopMargin { get; set; }