Share via


ProtectedViewWindow Members

Include Protected Members
Include Inherited Members

Represents a Protected View window.

The ProtectedViewWindow type exposes the following members.

Properties

  Name Description
Public property _Default
Public property Caption Gets or sets a value that represents the name that appears in the title bar of the Protected View window.
Public property EnableResize Gets or sets whether the Protected View window can be resized.
Public property Height Gets or sets a value that represents the height, in points, of the Protected View window.
Public property Left Gets or sets a value that represents the distance, in points, from the left edge of the client area to the left edge of the Protected View window.
Public property SourceName Gets the name of the source file that is open in the specified Protected View window.
Public property SourcePath Gets the path of the source file that is open in the specified Protected View window.
Public property Top Gets or sets a value that represents the distance, in points, from the top edge of the specified Protected View window to the top edge of the usable area.
Public property Visible Gets or sets a value that determines whether the specified Protected View window is visible.
Public property Width Gets or sets a value that specifies the width, in points, of the specified Protected View window.
Public property WindowState Gets or sets the state of the specified Protected View window.
Public property Workbook Gets an object that represents the workbook that is open in the specified Protected View window.

Top

Methods

  Name Description
Public method Activate Brings the Protected View window to the front of the z-order.
Public method Close Closes the specified Protected View window.
Public method Edit Opens the workbook that is open in the specified Protected View window for editing.

Top

See Also

Reference

ProtectedViewWindow Interface

Microsoft.Office.Interop.Excel Namespace