Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Description

Excerpt

Returns or sets a TableCell.VerticalAlignment object that represents the vertical alignment of the text in this cell.

Signature
C#
C#
 public VerticalAlignment VertAlignment{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property VertAlignment() As VerticalAlignment
{signature}
{remarks}This is set to [
Remarks

This is set to TableCell.VerticalAlignment.Top

|TableCell.VerticalAlignment#Top]

by

default.

MS

Word

equivalent:

Table

menu

>

Table

Properties...

>

Cell

tab

>

Vertical

alignment {remarks} {example}{code:csharp|title=C#}

alignment

Example
Code Block
csharp
csharp
titleC#


          //--- Return VertAlignment
          TableCell.VerticalAlignment oVerticalAlignment = cell.VertAlignment;

          //--- Set VertAlignment
          cell.VertAlignment = TableCell.VerticalAlignment.Center;
        
{code} {code:
Code Block
vb.net
|title=
vb.net
titlevb.net
}


          '--- Return VertAlignment
          Dim oVerticalAlignment As TableCell.VerticalAlignment = cell.VertAlignment

          '--- Set VertAlignment
          cell.VertAlignment = TableCell.VerticalAlignment.Center
        
{code} {example}