Cell.VerticalAlignment Property 

Returns or sets the vertical alignment of text in a cell of a table.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim cell1 As Cell

Dim returnValue As WdCellVerticalAlignment
returnValue = cell1.VerticalAlignment

Dim sampleValue As WdCellVerticalAlignment
cell1.VerticalAlignment = sampleValue

Syntax

Property VerticalAlignment() As WdCellVerticalAlignment
WdCellVerticalAlignment VerticalAlignment {get; set;}
property WdCellVerticalAlignment^ VerticalAlignment{
    WdCellVerticalAlignment^ get();
    Void set(WdCellVerticalAlignment^);
}
public WdCellVerticalAlignment get_VerticalAlignment();
public void set_VerticalAlignment(WdCellVerticalAlignment);
function get VerticalAlignment() : WdCellVerticalAlignment;
function set VerticalAlignment(WdCellVerticalAlignment);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Cell Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Cell Members