vsto - PowerPoint: How to get the current slide in multi-selected slides? -


I have selected multi-slides in the present presentation, but I want to get the slide that is in the current document view.

I tried to use the following code to get the slide,

  global This addin.app.activ window.lookdown slide  

but this failed, I found the first slide in the selected slides.

Any suggestions?

create an event

  application. Selected slide selection + = Application_Slide selection selected; Private Zero application_SlideSelectionChanged (Slider SldRange) {Debug.WriteLine (SldRange [1] .SlideNumber); }  

Returns the current slide number in the document view


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -