2010-12-10 9 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 
관련 문제