PageSetup Interface

Contains information about the page setup for slides, notes pages, handouts, and outlines in a presentation.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
<GuidAttribute("91493466-5A91-11CF-8700-00AA0060263B")> _
Public Interface PageSetup
'Usage
Dim instance As PageSetup
[GuidAttribute("91493466-5A91-11CF-8700-00AA0060263B")]
public interface PageSetup

Examples

Use the PageSetup property to return the PageSetup object. The following example sets all slides in the active presentation to be 11 inches wide and 8.5 inches high and sets the slide numbering for the presentation to start at 17.

With ActivePresentation.PageSetup

    .SlideWidth = 11 * 72

    .SlideHeight = 8.5 * 72

    .FirstSlideNumber = 17

End With

See Also

Reference

PageSetup Members

Microsoft.Office.Interop.PowerPoint Namespace