'宣言 Public Property PrintSettings As XLPrintSettings
public XLPrintSettings PrintSettings {get; set;}
'宣言 Public Property PrintSettings As XLPrintSettings
public XLPrintSettings PrintSettings {get; set;}
XLPrintSettings pp = sheet.PrintSettings(); pp.Landscape = true; pp.Header = "&LLeft Header&CCenter Header&RRight Header";