共用方式為


TextFrame.Orientation Property

Returns or sets text orientation. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property Orientation As MsoTextOrientation
    Get
    Set
'Usage
Dim instance As TextFrame
Dim value As MsoTextOrientation

value = instance.Orientation

instance.Orientation = value
MsoTextOrientation Orientation { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTextOrientation

Remarks

Some of these constants may not be available, depending on the language support (U.S. English, for example) that you selected or installed.

The value of the Orientation property can be one of the following MsoTextOrientation constants:

msoTextOrientationDownward

msoTextOrientationHorizontal

msoTextOrientationHorizontalRotatedFarEast

msoTextOrientationMixed

msoTextOrientationUpward

msoTextOrientationVertical

msoTextOrientationVerticalFarEast

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.PowerPoint Namespace