次の方法で共有


Windows.ResetPositionsSideBySide Method

Word Developer Reference

Resets two document windows that are in the Compare side by side with view mode.

Syntax

expression.ResetPositionsSideBySide

expression   Required. A variable that represents a Windows collection.

Remarks

This method corresponds to the Reset Window Position button on the Compare Side by Side toolbar. Use the ResetPositionsSideBySide method to reset the display of two documents. For example, if a user minimizes or maximizes one of the two document windows being compared, the ResetPositionsSideBySide method resets the display so that the two windows are displayed side by side again.

Example

The following example places two documents that were previously placed in side-by-side windows in adjacent windows.

Visual Basic for Applications
  Windows.ResetPositionsSideBySide

See Also