2010-12-10 14 views

答えて

1
PowerPoint.SlideShowWindow.Presentation.SlideShowWindow.View.CurrentShowPosition 
0

プレゼンテーションpres = Globals.ThisAddIn.Application.ActivePresentation;

 foreach (Slide s in pres.Slides) 
     { 

      MessageBox.Show(s.SlideIndex); 
     } 

私が知っている、まだ

0

キャプチャイベントSlideShowNextSlideWn変数から、スライドのインデックス/タイトルを取得していないスライドのタイトル。ここではVBAの例ません:

Private Sub app_SlideShowNextSlide(ByVal Wn As SlideShowWindow) 
Dim s As Slide 
s = Wn.View.Slide 
Dim slideTitle As String 


If s.Layout <> ppLayoutBlank Then 
    If s.Shapes.HasTitle Then 
     slideTitle = s.Shapes.Title 
    Else 
     slideTitle = "(nothing)" 
    End If 
End If 

Dim sIndex As Integer 
sIndex = s.SlideIndex 

End Sub 
関連する問題