Table.PreferredWidthType Property 

Returns or sets the preferred unit of measurement to use for the width of the specified table.

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

Usage

Dim table1 As Table

Dim returnValue As WdPreferredWidthType
returnValue = table1.PreferredWidthType

Dim sampleValue As WdPreferredWidthType
table1.PreferredWidthType = sampleValue

Syntax

Property PreferredWidthType() As WdPreferredWidthType
WdPreferredWidthType PreferredWidthType {get; set;}
property WdPreferredWidthType^ PreferredWidthType{
    WdPreferredWidthType^ get();
    Void set(WdPreferredWidthType^);
}
public WdPreferredWidthType get_PreferredWidthType();
public void set_PreferredWidthType(WdPreferredWidthType);
function get PreferredWidthType() : WdPreferredWidthType;
function set PreferredWidthType(WdPreferredWidthType);

Remarks

WdPreferredWidthType can be one of these WdPreferredWidthType constants:

wdPreferredWidthAuto

wdPreferredWidthPercent

wdPreferredWidthPoints

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