Base class which exposes the various print options available for a sheet which can be saved with both a sheet and its custom view.
Inheritance
object
Classes that extend this class.
Derived ClassesProperties
Section titled "Properties"AlignHeadersAndFootersWithMargins
Section titled "AlignHeadersAndFootersWithMargins"Gets or sets the value indicating whether to align header and footer margins with page margins.
public bool AlignHeadersAndFootersWithMargins { get; set; } BottomMargin
Section titled "BottomMargin"Gets or sets the margin at the bottom of each printed page of the worksheet, specified in inches.
public double BottomMargin { get; set; } DraftQuality
Section titled "DraftQuality"Gets or sets the value indicating whether the printed pages should be printed using draft quality.
public bool DraftQuality { get; set; } Footer
Section titled "Footer"Gets or sets the footer for each page of the printed worksheet.
public string Footer { get; set; } FooterMargin
Section titled "FooterMargin"Gets or sets the footer margin for each printed page of the worksheet, specified in inches.
public double FooterMargin { get; set; } Header
Section titled "Header"Gets or sets the header for each page of the printed worksheet.
public string Header { get; set; } HeaderMargin
Section titled "HeaderMargin"Gets or sets the header margin for each printed page of the worksheet, specified in inches.
public double HeaderMargin { get; set; } LeftMargin
Section titled "LeftMargin"Gets or sets the margin at the left of each printed page of the worksheet, specified in inches.
public double LeftMargin { get; set; } NumberOfCopies
Section titled "NumberOfCopies"Gets or sets the number of copies to print.
public int NumberOfCopies { get; set; } Orientation
Section titled "Orientation"Gets or sets the orientation for each page of the printed worksheet.
public Orientation Orientation { get; set; } OrientationResolved
Section titled "OrientationResolved"Returns the resolved orientation for each page of the printed worksheet.
public Orientation OrientationResolved { get; } PageNumbering
Section titled "PageNumbering"Gets or sets the method with which pages are numbered.
public PageNumbering PageNumbering { get; set; } PaperSize
Section titled "PaperSize"Gets or sets the paper size for each printed page of the worksheet.
public PaperSize PaperSize { get; set; } PrintErrors
Section titled "PrintErrors"Gets or sets the way error values of cells are printed.
public PrintErrors PrintErrors { get; set; } PrintInBlackAndWhite
Section titled "PrintInBlackAndWhite"Gets or sets the value indicating whether the worksheet should be printed in black and white.
public bool PrintInBlackAndWhite { get; set; } PrintNotes
Section titled "PrintNotes"Gets or sets the way cell comments are printed.
public PrintNotes PrintNotes { get; set; } Resolution
Section titled "Resolution"Gets or sets the horizontal print resolution in DPI.
public int Resolution { get; set; } RightMargin
Section titled "RightMargin"Gets or sets the margin at the right of each printed page of the worksheet, specified in inches.
public double RightMargin { get; set; } ScaleHeadersAndFootersWithDocument
Section titled "ScaleHeadersAndFootersWithDocument"Gets or sets the value indicating whether to scale the headers and footers with the document scaling.
public bool ScaleHeadersAndFootersWithDocument { get; set; } StartPageNumber
Section titled "StartPageNumber"Gets or sets the page number for the first printed page of the worksheet.
public int StartPageNumber { get; set; } TopMargin
Section titled "TopMargin"Gets or sets the margin at the top of each printed page of the worksheet, specified in inches.
public double TopMargin { get; set; } VerticalResolution
Section titled "VerticalResolution"Gets or sets the vertical print resolution in DPI.
public int VerticalResolution { get; set; } Methods
Section titled "Methods"Reset()
Section titled "Reset()"Resets the print options to their default settings.
public virtual void Reset()