Message-ID: <1386549969.8599.1711651755919.JavaMail.web05$@web05> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8598_881972909.1711651755919" ------=_Part_8598_881972909.1711651755919 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html TableFormatting.AutoWidth

TableFormatting.AutoWidth

Description

Returns a=20 boolean that represents whether or not this table's width will= be set automatically by Word.=20
C#
=20
public boolean AutoWidth{ get; set; }
=20
=20
vb.net
=20
Public Property AutoWidth() As Boolean
=20
=20

Remarks

=20

MS Word equivalent: Table menu > Table Properties... > Table tab &= gt; Options... > Automatically resize to fit contents

=20
=20 Icon=20
=20

You will have to call table.SetPreferredColumnWidthUnits(i,TableCell.Widt= hUnits.Auto) to have each column adjusted to fit the text

=20
=20
=20

Examples

=20
C#
=20
          boolean autoWidth =3D oTableFormatting.AutoWidth;
        
=20
vb.net
=20
          Dim autoWidth As Boolean =3D oTableFormatting.AutoWidt=
h
        
=20
------=_Part_8598_881972909.1711651755919--