Partager via


Style.Orientation Property

The text orientation. Can be an integer value from –90 to 90 degrees or one of the XlOrientation constants.

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

Syntax

'Declaration
Property Orientation As XlOrientation
    Get
    Set
'Usage
Dim instance As Style
Dim value As XlOrientation

value = instance.Orientation

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

Property Value

Type: Microsoft.Office.Interop.Excel.XlOrientation

Remarks

XlOrientation can be one of the following constants:

xlDownward

xlUpward

xlHorizontal

xlVertical

See Also

Reference

Style Interface

Style Members

Microsoft.Office.Interop.Excel Namespace