SlideOrientation Property

Applies To

PageSetup object.

Description

Returns or sets the on-screen and printed orientation of slides in the specified presentation. Can be one of the following MsoOrientation constants: msoOrientationHorizontal, msoOrientationMixed, or msoOrientationVertical. Read/write Long.

See Also

NotesOrientation property, Orientation property, SlideHeight property, SlideSize property, SlideWidth property.

Example

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

Application.ActivePresentation.PageSetup.SlideOrientation = _
    msoOrientationVertical