Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

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

 alignment

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

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

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

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

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

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Returns or sets a [TableCell.VerticalAlignment|TableCell.VerticalAlignment] object that represents the vertical alignment of the text in this cell.{excerpt}
{signature:C#}
 public VerticalAlignment VertAlignment{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property VertAlignment() As VerticalAlignment
Remarks
This is set to
{signature}
{remarks}This is set to [TableCell.VerticalAlignment.Top|TableCell.VerticalAlignment#Top] by default.


MS Word equivalent: Table menu > Table Properties... > Cell tab > Vertical
alignment
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle