編輯

共用方式為


ProtectedViewWindow Interface

Definition

Represents a protected view window.

public interface class ProtectedViewWindow
[System.Runtime.InteropServices.Guid("F743EDD0-9B97-4B09-89CC-77BE19B51481")]
public interface ProtectedViewWindow
type ProtectedViewWindow = interface
Public Interface ProtectedViewWindow
Attributes

Remarks

Documents displayed in a protected view window cannot be edited and are restricted from running active content such as macros and data connections.

Properties

Active

Gets whether the specified protected view window is active.

Application

Gets an Application object that represents the Microsoft Word application.

Caption

Gets or sets the caption text that is displayed in the title bar of the document or protected view window.

Creator

Gets a 32-bit integer that indicates the application in which the specified object was created.

Document

Gets a Document object associated with the protected view window.

Height

Gets or sets the height of the protected view window.

Index

Returns a value that represents the position of an item in a collection.

Left

Gets or sets a value, in points, that represents the horizontal position of the specified protected view window.

Parent

Gets an Object that represents the parent object of the specified ProtectedViewWindow object.

SourceName

Gets the name of the source file for the specified protected view window.

SourcePath

Gets the path of the source file for the specified protected view window.

Top

Gets or sets the vertical position, in points, of the specified protected view window.

Visible

Gets or sets whether the specified protected view window is visible.

Width

Gets or sets the width, in points, of the specified protected view window.

WindowState

Gets or sets the state of the specified protected view window.

Methods

Activate()

Activates the specified protected view window.

Close()

Closes the specified protected view window.

Edit(Object, Object, Object)

Opens the specified protected view window for editing.

ToggleRibbon()

Shows or hides the ribbon.

Applies to