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