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

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public XLPrintSettings PrintSettings { get; set; }
Visual Basic
Public Property PrintSettings As XLPrintSettings
	Get
	Set

Examples

The code below creates a header for the sheet and sets the orientation to landscape:
Copy CodeC#
XLPrintSettings pp = sheet.PrintSettings();
pp.Landscape = true;
pp.Header = "&LLeft Header&CCenter Header&RRight Header";

See Also