The WebImageViewer™ control supports two orientation modes:
Horizontal
Vertical
For more information, see Orientation Types.
When the Orientation property is set to Horizontal, the height of each image is set to 100% to fill the available vertical space.
When the Orientation property is set to Vertical, the width of each image is set to 100% to fill the available horizontal space.
The following example code sets the Orientation property to Vertical.
In Visual Basic:
' Sets Orientation to Vertical Me.WebImageViewer1.Orientation = Orientation.Vertical
In C#:
// Sets Orientation to Vertical this.WebImageViewer1.Orientation = Orientation.Vertical;