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

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

Signature
C#
C#
 public WidthUnits CellWidthUnits{ get; set; }
{signature}{signature:
}
Signature
vb.net
vb.net
Public Property CellWidthUnits() As WidthUnits
{signature}
{remarks}MS Word 
Remarks

MS Word equivalent:

Table

menu

>

Table

Properties...

>

Cell

tab

>

Size

section

>

Measure

in:

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

Example
Code Block
csharp
csharp
titleC#


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

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


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

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