[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PageSettings

Class PageSettings

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Represent the settings of the page.

public class PageSettings
Inheritance
object
PageSettings
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

PageSettings()

public PageSettings()

Properties

AlignMarginsHeaderFooter

Returns True to align the header and the footer with the margins set in the page setup options.

public bool AlignMarginsHeaderFooter { get; set; }

Property Value

bool

BlackAndWhite

True if elements of the document will be printed in black and white.

public bool BlackAndWhite { get; set; }

Property Value

bool

BottomMargin

Returns or sets the size of the bottom margin, in points.

public double BottomMargin { get; set; }

Property Value

double

CenterFooter

Returns or sets the alignment of text on the center footer of the page.

public string CenterFooter { get; set; }

Property Value

string

CenterFooterPicture

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; }

Property Value

IGraphic

CenterHeader

Returns or sets the alignment of text on the center header of the page.

public string CenterHeader { get; set; }

Property Value

string

CenterHeaderPicture

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; }

Property Value

IGraphic

CenterHorizontally

True if the sheet is centered horizontally on the page when it's printed.

public bool CenterHorizontally { get; set; }

Property Value

bool

CenterVertically

True if the sheet is centered vertically on the page when it's printed.

public bool CenterVertically { get; set; }

Property Value

bool

Draft

True if the sheet will be printed without graphics.

public bool Draft { get; set; }

Property Value

bool

FooterMargin

Returns or sets the size of the footer margin, in points.

public double FooterMargin { get; set; }

Property Value

double

HeaderMargin

Returns or sets the size of the header margin, in points.

public double HeaderMargin { get; set; }

Property Value

double

LeftFooter

Returns or sets the alignment of text on the left footer of the page.

public string LeftFooter { get; set; }

Property Value

string

LeftFooterPicture

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; }

Property Value

IGraphic

LeftHeader

Returns or sets the alignment of text on the left header of the page.

public string LeftHeader { get; set; }

Property Value

string

LeftHeaderPicture

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; }

Property Value

IGraphic

LeftMargin

Returns or sets the size of the left margin, in points.

public double LeftMargin { get; set; }

Property Value

double

PaperHeight

Represents the height in points of the paper, considered page orientation.

public double PaperHeight { get; set; }

Property Value

double

PaperWidth

Represents the width in points of the paper, considered page orientation.

public double PaperWidth { get; set; }

Property Value

double

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.

public PrintErrors PrintErrors { get; set; }

Property Value

PrintErrors

PrintGridlines

True if cell gridlines are printed on the page. Applies only to worksheets.

public bool PrintGridlines { get; set; }

Property Value

bool

RightFooter

Returns or sets the alignment of text on the right footer of the page.

public string RightFooter { get; set; }

Property Value

string

RightFooterPicture

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; }

Property Value

IGraphic

RightHeader

Returns or sets the alignment of text on the right header of the page.

public string RightHeader { get; set; }

Property Value

string

RightHeaderPicture

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; }

Property Value

IGraphic

RightMargin

Returns or sets the size of the right margin, in points.

public double RightMargin { get; set; }

Property Value

double

ScaleWithDocHeaderFooter

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; }

Property Value

bool

TopMargin

Returns or sets the size of the top margin, in points.

public double TopMargin { get; set; }

Property Value

double