[]
Gets or sets an XLPrintSettings object that controls how the sheet is printed.
public XLPrintSettings PrintSettings { get; set; }
The code below creates a header for the sheet and sets the orientation to landscape:
XLPrintSettings pp = sheet.PrintSettings();
pp.Landscape = true;
pp.Header = "&LLeft Header&CCenter Header&RRight Header";