Arrange Method

Home Page (Objects)OverviewFAQReference

Applies to: Windows object

Tiles, maximizes, or minimizes all open windows.

Syntax

object.Arrange state

Parameters

object

An expression that evaluates to a Windows object.

state

An enum of type DsArrangeStyle that sets the state of the windows. Following are the possible values, which have the Long type:

Remarks

If you get the collection of windows associated with a document by using the Windows property of the Document object, the Arrange method affects only those windows — not all windows open in Developer Studio.

Example

The following example tiles all open windows horizontally:

Windows.Arrange dsTileHorizontal