How to identify a selected slide is a master slide in PowerPoint 2003 Programmatically

I recently worked with code to open a PowerPoint object (vb.net) and processed each slide with a slide. If the processing slide is not the zero or the main slide, I need to skip and go to the next.

Can someone show me how to check if this slide is a master slide? Is there any way to check it by slide type?

Public Sub CheckForProprtychecker(ByVal Presn As PowerPoint.Presentation)

For SlideIndex As Integer = 1 To Presn.Slides.Count()
      If Presn.Slides(SlideIndex) Is Nothing Then
         Continue For
      End If
     ''# do other process  
Next

End Sub 
+3
source share
2 answers

I do not think this is easy, unfortunately. Once I wrote an application for interacting with Office in which we had to replace tags on a page (there were also tags on the main page that also had to be replaced).

,

a

slide.Master

slide.Design.SlideMaster

, ().

+3

- , ( ) . , ?

+1

Source: https://habr.com/ru/post/1723970/


All Articles