跳到主要内容

PageOrientation

页面方向类型。

类型​

枚举

值​

  • "xlLandscape"
  • "xlPortrait"

示例​

将页面方向设置为纵向。

// How do I change the page orientation?

// Set a page orientation to portrait.

worksheet.SetPageOrientation("xlPortrait");