Share via


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)

Syntax

'Declaration
Property PreferredWidth As Single
    Get
    Set
'Usage
Dim instance As Table
Dim value As Single

value = instance.PreferredWidth

instance.PreferredWidth = value
float PreferredWidth { get; set; }

Property Value

Type: System.Single

Remarks

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.

See Also

Reference

Table Interface

Table Members

Microsoft.Office.Interop.Word Namespace