API usage电子表格 APIEnumerationPageOrientation本页总览PageOrientationAsk a question 页面方向类型。 类型 枚举 值 "xlLandscape" "xlPortrait" 示例 This example sets the page orientation to portrait. CodeResultPlayground// How to change an orientation of a page.// Set a page orientation to portrait.worksheet.SetPageOrientation("xlPortrait");