SlideOrientation Property

Microsoft PowerPoint Visual Basic

Returns or sets the on-screen and printed orientation of slides in the specified presentation. Read/write MsoOrientation.

MsoOrientation can be one of these MsoOrientation constants.
msoOrientationHorizontal
msoOrientationMixed
msoOrientationVertical

expression.SlideOrientation

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

Example

This example sets orientation of all slides in the active presentation to vertical (portrait).

Application.ActivePresentation.PageSetup.SlideOrientation = _
    msoOrientationVertical