PageSetup 对象 (PowerPoint)PageSetup object (PowerPoint)

包含演示文稿中有关幻灯片、备注页、讲义及大纲的页面设置的信息。Contains information about the page setup for slides, notes pages, handouts, and outlines in a presentation.


使用PageSetup属性可返回PageSetup对象。Use the PageSetupproperty to return the PageSetup object. 下面的示例将所有幻灯片都设为宽 11 英寸、 高 8.5 英寸为当前演示文稿并都设置的幻灯片编号设为从 17 开始的演示文稿。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

PowerPoint 对象模型引用PowerPoint Object Model Reference

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.