共用方式為


PowerPoint) (SlideShowWindows 物件

代表 Microsoft PowerPoint 中開啟的投影片放映的所有 SlideShowWindow 物件的集合。

範例

使用 SlideShowWindows 屬性可傳回 SlideShowWindows 集合。 使用 SlideShowWindows (索 ) ,其中 index 是視窗索引編號,可傳回單一 SlideShowWindow 物件。 下列範例會減少第一個投影片放映視窗的高度的全螢幕視窗時。

With SlideShowWindows(1)

    If .IsFullScreen Then

        .Height = .Height - 20

    End If

End With

使用Run方法來建立新的投影片放映視窗並將其新增至 SlideShowWindows 集合。 下列範例會執行使用中簡報之投影片放映。

ActivePresentation.SlideShowSettings.Run

另請參閱

PowerPoint 物件模型參考資料

支援和意見反應

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