Share via


ProtectedViewWindow.Width Property

Gets or sets a value that specifies the width, in points, of the specified Protected View 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 ProtectedViewWindow
Dim value As Double

value = instance.Width

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

Property Value

Type: System.Double
The width, in points, of the specified Protected View window.

Remarks

Read/write.

You cannot set this property if the Protected View window is maximized or minimized. Use the WindowState property to determine the window state.

See Also

Reference

ProtectedViewWindow Interface

ProtectedViewWindow Members

Microsoft.Office.Interop.Excel Namespace