跳到主要内容

PageOrientation

页面方向类型。

类型

枚举

  • "xlLandscape"
  • "xlPortrait"

示例

This example sets the page orientation to portrait.

// How to change an orientation of a page.

// Set a page orientation to portrait.

worksheet.SetPageOrientation("xlPortrait");