Table.AllowAutoFit Property 

Allows Microsoft Word to automatically resize cells in a table to fit their contents.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim table1 As Table

Dim returnValue As Boolean
returnValue = table1.AllowAutoFit

Dim sampleValue As Boolean
table1.AllowAutoFit = sampleValue

Syntax

Property AllowAutoFit() As Boolean
bool AllowAutoFit {get; set;}
property Boolean AllowAutoFit{
    Boolean get();
    Void set(Boolean);
}
public boolean get_AllowAutoFit();
public void set_AllowAutoFit(boolean);
function get AllowAutoFit() : Boolean;
function set AllowAutoFit(Boolean);

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Table Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Table Members