Range.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 Object
    Get
    Set
'Usage
Dim instance As Range
Dim value As Object

value = instance.VerticalAlignment

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

Property Value

Type: System.Object
.

Remarks

The returned vertical alignment specifier can be one of the following read/write Object values:

  • xlBottom

  • xlCenter

  • xlDistributed

  • xlJustify

  • xlTop

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace