ExcelPrinterSettings Properties

Office Open XML

The ExcelPrinterSettings type exposes the following members.

Properties

  NameDescription
BlackAndWhite
Print black and white
BottomMargin
Bottom margin in inches
Draft
Print a draft
FitToHeight
Fit to height in pages. Set FitToPage to true when using this one. 0 is automatic
FitToPage
Fit To Page.
FitToWidth
Fit to Width in pages. Set FitToPage to true when using this one. 0 is automatic
FooterMargin
Footer margin in inches
HeaderMargin
Header margin in inches
HorizontalCentered
Horizontal centered when printing
LeftMargin
Left margin in inches
Orientation
Orientation Portrait or Landscape
PageOrder
Specifies printed page order
PaperSize
Paper size
PrintArea
The printarea. Null if no print area is set.
RepeatColumns
Print titles Columns to be repeated after each pagebreak. The address must be a full column address (ex. A:A)
RepeatRows
Print titles Rows to be repeated after each pagebreak. The address must be a full row address (ex. 1:1)
RightMargin
Right margin in inches
Scale
Print scale
ShowGridLines
Print gridlines
ShowHeaders
Print headings (column letter and row numbers)
TopMargin
Top margin in inches
VerticalCentered
Vertical centered when printing

See Also