Share via


ProtectedViewWindow.Height Property

Gets or sets a value that represents the height, in points, of the Protected View window.

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

Syntax

'Declaration
Property Height As Double
    Get
    Set
'Usage
Dim instance As ProtectedViewWindow
Dim value As Double

value = instance.Height

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

Property Value

Type: System.Double
The height, in points, of the 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