Share via


TextFrame.VerticalAlignment Property

Returns or sets the vertical alignment of the specified object.

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

Syntax

'Declaration
Property VerticalAlignment As XlVAlign
    Get
    Set
'Usage
Dim instance As TextFrame
Dim value As XlVAlign

value = instance.VerticalAlignment

instance.VerticalAlignment = value
XlVAlign VerticalAlignment { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlVAlign

Remarks

The VerticalAlignment property can be one of the XlVAlign constants.

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.

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.Excel Namespace