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