本示例将所在文字改为竖排。

Selection.PageSetup.TextOrientation = wpsTextOrientationVerticalFarEast