Partager via


TextFrame2.Orientation Property

Returns or sets a value that represents the text frame orientation. Read/write.

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

Syntax

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

value = instance.Orientation

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

Property Value

Type: Microsoft.Office.Core.MsoTextOrientation
MsoTextOrientation

Remarks

The value of this property can be set to an integer value from –90 to 90 degrees, or to one of the MsoTextOrientation constants.

See Also

Reference

TextFrame2 Interface

TextFrame2 Members

Microsoft.Office.Interop.Excel Namespace