Presentation.PageSetup Property

PowerPoint Developer Reference

Returns a PageSetup object whose properties control slide setup attributes for the specified presentation. Read-only.

Syntax

expression.PageSetup

expression   A variable that represents a Presentation object.

Return Value
PageSetup

Example

The following example sets the slide size and slide orientation for the presentation named "Pres1."

Visual Basic for Applications
  With Presentations("pres1").PageSetup
    .SlideSize = ppSlideSize35MM
    .SlideOrientation = msoOrientationHorizontal
End With

See Also