所选内容。方向属性 (Word)Selection.Orientation property (Word)

返回或设置选定内容中的文字排列方向,当启用了文字方向功能时。Returns or sets the orientation of text in a selection when the Text Direction feature is enabled. 读/写WdTextOrientationRead/write WdTextOrientation.

语法Syntax

表达式方向expression.Orientation

expression:必需。expression Required. 表示 Selection 对象的变量。A variable that represents a Selection object.

备注Remarks

某些WdTextOrientation常量可能不可用, 具体取决于您选择或安装的语言支持 (例如, 美国英语)。Some of the WdTextOrientation constants may not be available to you, depending on the language support (U.S. English, for example) that you've selected or installed.

您可以设置文本框架或者恰好位于文本框架内的选定内容的方向。You can set the orientation for a text frame or for a selection that happens to occur inside a text frame. 有关文本框架和文本框之间的差异的信息, 请参阅**TextFrame** 对象。For information about the difference between a text frame and a text box, see the TextFrame object.

另请参阅See also

Selection 对象Selection Object

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.