PageSetup 属性(PowerPoint)Presentation.PageSetup property (PowerPoint)

返回一个 PageSetup 对象,该对象的属性控制指定演示文稿的幻灯片的页面设置属性。Returns a PageSetup object whose properties control slide setup attributes for the specified presentation. 此为只读属性。Read-only.



_表达式_一个代表Presentation对象的变量。expression A variable that represents a Presentation object.

返回值Return value



以下示例为名为“Pres1”的演示文稿设置幻灯片的大小和方向。The following example sets the slide size and slide orientation for the presentation named "Pres1."

With Presentations("pres1").PageSetup

    .SlideSize = ppSlideSize35MM

    .SlideOrientation = msoOrientationHorizontal

End With

另请参阅See also

演示文稿对象Presentation Object

支持和反馈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.