ResetPositionsSideBySide Method

Microsoft Word Visual Basic

ResetPositionsSideBySide Method

Resets two document windows that are in the Compare side by side with view mode. Corresponds to the Reset Window Position button on the Compare Side by Side toolbar.

expression.ResetPositionsSideBySide

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

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.

    Windows.ResetPositionsSideBySide