ComponentOne Excel for UWP
C1.UWP.Excel Assembly / C1.Xaml.Excel Namespace / XLSheet Class / PrintSettings Property
Example

In This Topic
    PrintSettings Property
    In This Topic
    Gets or sets an XLPrintSettings object that controls how the sheet is printed.
    Syntax
    'Declaration
     
    Public Property PrintSettings As XLPrintSettings
    public XLPrintSettings PrintSettings {get; set;}
    Example
    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";
    See Also