[]
        
(Showing Draft Content)

C1.Excel.XLSheet.PrintSettings

PrintSettings Property

PrintSettings

Gets or sets an XLPrintSettings object that controls how the sheet is printed.

Declaration
public XLPrintSettings PrintSettings { get; set; }
Examples

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";