Style.VerticalAlignment Property

Definition

Returns or sets the vertical alignment of the specified object.

public:
 property Microsoft::Office::Interop::Excel::XlVAlign VerticalAlignment { Microsoft::Office::Interop::Excel::XlVAlign get(); void set(Microsoft::Office::Interop::Excel::XlVAlign value); };
public Microsoft.Office.Interop.Excel.XlVAlign VerticalAlignment { get; set; }
Public Property VerticalAlignment As XlVAlign

Property Value

Remarks

XlVAlign can be one of the following XlVAlign constants:

xlVAlignCenter

xlVAlignJustify

xlVAlignBottom

xlVAlignDistributed

xlVAlignTop

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.

Applies to