Table of contents
TOC
折叠目录
展开目录

TextFrame.Orientation 属性 (PowerPoint)TextFrame.Orientation Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

返回或设置文本方向。可读/写。Returns or sets text orientation. Read/write.

语法Syntax

表达式方向expression. Orientation

表达式_一个表示一个TextFrame对象的变量。_expression A variable that represents a TextFrame object.

返回值Return Value

有些MsoTextOrientation

注解Remarks

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

方向属性的值可以是下列中文之一。The value of the Orientation property can be one of these MsoTextOrientation constants.

|| |:-----| |msoTextOrientationDownwardmsoTextOrientationDownward| |不同语言支持msoTextOrientationHorizontal| |msoTextOrientationHorizontalRotatedFarEastmsoTextOrientationHorizontalRotatedFarEast| |msoTextOrientationMixedmsoTextOrientationMixed| |msoTextOrientationUpwardmsoTextOrientationUpward| |常量msoTextOrientationVertical| |方向msoTextOrientationVerticalFarEast|

示例Example

以下示例会在 myDocument 上将第三个形状中的文本设为水平方向。This example orients the text horizontally within shape three on myDocument.

Set myDocument = ActivePresentation.Slides(1)

myDocument.Shapes(3).TextFrame.Orientation = msoTextOrientationHorizontal

另请参阅See also

概念Concepts

TextFrame 对象TextFrame Object

© 2018 Microsoft