2010-12-10 10 views

Répondre

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

Présentation pres = Globals.ThisAddIn.Application.ActivePresentation;

 foreach (Slide s in pres.Slides) 
     { 

      MessageBox.Show(s.SlideIndex); 
     } 

Le titre de la diapositive Je ne sais pas, mais

0

événement Capture SlideShowNextSlide et de la variable Wn, obtenir index/titre de la diapositive. Voici un exemple 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 
Questions connexes