Page tree

Versions Compared

Key

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

Excerpt

Sets or returns a TableCell.WidthUnits object that represents the cell width units for this cell.



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

          //--- Return CellWidthUnits
          TableCell.WidthUnits widthUnits = cell.CellWidthUnits;

          //--- Set CellWidthUnits
          cell.CellWidthUnits = TableCell.WidthUnits.Auto;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Return CellWidthUnits
          Dim widthUnits As TableCell.WidthUnits = cell.CellWidthUnits

          '--- Set CellWidthUnits
          cell.CellWidthUnits = TableCell.WidthUnits.Auto
        {code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns a [TableCell.WidthUnits|TableCell.WidthUnits] object that represents the cell width units for this cell.{excerpt}
{signature:C#}
 public WidthUnits CellWidthUnits{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property CellWidthUnits() As WidthUnits
Remarks
MS Word
{signature}
{remarks}MS Word equivalent: Table menu > Table Properties... > Cell tab > Size section > Measure in:
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle