This documentation is archived and is not being maintained.

Visual Basic: Windows Controls

Visual Studio 6.0

Orientation Property (ProgressBar Control)

See Also    Example    Applies To

Returns or sets a value that determines the orientation (horizontal or vertical) of the object.


object.Orientation [= integer]

The Orientation property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
integer A numeric expression that determines the orientation of the control, as shown in Settings.


The settings for integer are:

Constant Value Description
ccOrientationHorizontal 0 (Default) The control is oriented horizontally.
ccOrientationVertical 1 The control is oriented vertically.