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

Classes that extend this class.

Derived Classes

Gets or sets the value indicating whether to align header and footer margins with page margins.

public bool AlignHeadersAndFootersWithMargins { get; set; }

Gets or sets the margin at the bottom of each printed page of the worksheet, specified in inches.

public double BottomMargin { get; set; }

Gets or sets the value indicating whether the printed pages should be printed using draft quality.

public bool DraftQuality { get; set; }

Gets or sets the footer for each page of the printed worksheet.

public string Footer { get; set; }

Gets or sets the footer margin for each printed page of the worksheet, specified in inches.

public double FooterMargin { get; set; }

Gets or sets the header for each page of the printed worksheet.

public string Header { get; set; }

Gets or sets the header margin for each printed page of the worksheet, specified in inches.

public double HeaderMargin { get; set; }

Gets or sets the margin at the left of each printed page of the worksheet, specified in inches.

public double LeftMargin { get; set; }

Gets or sets the number of copies to print.

public int NumberOfCopies { get; set; }

Gets or sets the orientation for each page of the printed worksheet.

public Orientation Orientation { get; set; }

Returns the resolved orientation for each page of the printed worksheet.

public Orientation OrientationResolved { get; }

Gets or sets the method with which pages are numbered.

public PageNumbering PageNumbering { get; set; }

Gets or sets the paper size for each printed page of the worksheet.

public PaperSize PaperSize { get; set; }

Gets or sets the way error values of cells are printed.

public PrintErrors PrintErrors { get; set; }

Gets or sets the value indicating whether the worksheet should be printed in black and white.

public bool PrintInBlackAndWhite { get; set; }

Gets or sets the way cell comments are printed.

public PrintNotes PrintNotes { get; set; }

Gets or sets the horizontal print resolution in DPI.

public int Resolution { get; set; }

Gets or sets the margin at the right of each printed page of the worksheet, specified in inches.

public double RightMargin { get; set; }

Gets or sets the value indicating whether to scale the headers and footers with the document scaling.

public bool ScaleHeadersAndFootersWithDocument { get; set; }

Gets or sets the page number for the first printed page of the worksheet.

public int StartPageNumber { get; set; }

Gets or sets the margin at the top of each printed page of the worksheet, specified in inches.

public double TopMargin { get; set; }

Gets or sets the vertical print resolution in DPI.

public int VerticalResolution { get; set; }

Resets the print options to their default settings.

public virtual void Reset()

Returns any