Class ExcelPrinterSettings
- Namespace
- OfficeOpenXml
- Assembly
- EPPlus.dll
Printer settings
public sealed class ExcelPrinterSettings : XmlHelper
- Inheritance
-
ExcelPrinterSettings
- Inherited Members
Properties
BlackAndWhite
Print black and white
public bool BlackAndWhite { get; set; }
Property Value
BottomMargin
Bottom margin in inches
public decimal BottomMargin { get; set; }
Property Value
Draft
Print a draft
public bool Draft { get; set; }
Property Value
FitToHeight
Fit to height in pages. Set FitToPage to true when using this one. 0 is automatic
public int FitToHeight { get; set; }
Property Value
FitToPage
Fit To Page.
public bool FitToPage { get; set; }
Property Value
FitToWidth
Fit to Width in pages. Set FitToPage to true when using this one. 0 is automatic
public int FitToWidth { get; set; }
Property Value
FooterMargin
Footer margin in inches
public decimal FooterMargin { get; set; }
Property Value
HeaderMargin
Header margin in inches
public decimal HeaderMargin { get; set; }
Property Value
HorizontalCentered
Horizontal centered when printing
public bool HorizontalCentered { get; set; }
Property Value
LeftMargin
Left margin in inches
public decimal LeftMargin { get; set; }
Property Value
Orientation
Orientation Portrait or Landscape
public eOrientation Orientation { get; set; }
Property Value
PageOrder
Specifies printed page order
public ePageOrder PageOrder { get; set; }
Property Value
PaperSize
Paper size
public ePaperSize PaperSize { get; set; }
Property Value
PrintArea
The printarea. Null if no print area is set.
public ExcelRangeBase PrintArea { get; set; }
Property Value
RepeatColumns
Print titles Columns to be repeated after each pagebreak. The address must be a full column address (ex. A:A)
public ExcelAddress RepeatColumns { get; set; }
Property Value
RepeatRows
Print titles Rows to be repeated after each pagebreak. The address must be a full row address (ex. 1:1)
public ExcelAddress RepeatRows { get; set; }
Property Value
RightMargin
Right margin in inches
public decimal RightMargin { get; set; }
Property Value
Scale
Print scale
public int Scale { get; set; }
Property Value
ShowGridLines
Print gridlines
public bool ShowGridLines { get; set; }
Property Value
ShowHeaders
Print headings (column letter and row numbers)
public bool ShowHeaders { get; set; }
Property Value
TopMargin
Top margin in inches
public decimal TopMargin { get; set; }
Property Value
VerticalCentered
Vertical centered when printing
public bool VerticalCentered { get; set; }