以磅为单位返回或设置幻灯片的高度。 读/写。
语法
expression. SlideHeight
expression:表示 PageSetup 对象的变量。
返回值
单精度
示例
以下示例会将当前演示文稿幻灯片的高度设为 8.5 英寸,宽度设为 11 英寸。
With Application.ActivePresentation.PageSetup
.SlideWidth = 11 * 72
.SlideHeight = 8.5 * 72
End With
另请参阅
支持和反馈
有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。