PowerPoint) (Presentation.PageSetup 屬性

會傳回 PageSetup 物件,其屬性 (property) 可以控制指定之簡報的投影片設定屬性 (Attribute)。 唯讀。

語法

運算式PageSetup

表達 代表 Presentation 物件的變數。

傳回值

PageSetup

範例

下列範例會設定名稱為 "Pres1" 之簡報的投影片大小與投影片方向。

With Presentations("pres1").PageSetup

    .SlideSize = ppSlideSize35MM

    .SlideOrientation = msoOrientationHorizontal

End With

另請參閱

Presentation 物件

支援和意見反應

有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應