Window.Width Property

The width in points of the window.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property Width As Double
    Get
    Set
'Usage
Dim instance As Window
Dim value As Double

value = instance.Width

instance.Width = value
double Width { get; set; }

Property Value

Type: System.Double

Remarks

Use the UsableWidth property to determine the maximum size for the window. You cannot set this property if the window is maximized or minimized. Use the WindowState property to determine the window state.

See Also

Reference

Window Interface

Window Members

Microsoft.Office.Interop.Excel Namespace