Excel for WinRT
PrintSettings Property
Example 


Gets or sets an XLPrintSettings object that controls how the sheet is printed.
Syntax
'Declaration
 
Public Property PrintSettings As XLPrintSettings
'Usage
 
Dim instance As XLSheet
Dim value As XLPrintSettings
 
instance.PrintSettings = value
 
value = instance.PrintSettings
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

Reference

XLSheet Class
XLSheet Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback