Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Table.PreferredWidth Property 

Returns or sets the preferred width (in points or as a percentage of the window width) for the specified cell, cells, columns, or 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 Single
returnValue = table1.PreferredWidth

Dim sampleValue As Single
table1.PreferredWidth = sampleValue

float PreferredWidth {get; set;}
public float get_PreferredWidth();
public void set_PreferredWidth(float);
function get PreferredWidth() : float;
function set PreferredWidth(float);

If the PreferredWidthType property is set to wdPreferredWidthPoints, the PreferredWidth property returns or sets the width in points. If the PreferredWidthType property is set to wdPreferredWidthPercent, the PreferredWidth property returns or sets the width as a percentage of the window width.


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

Development Platforms

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

Target Platforms

Community Additions

Show: