Application is a C# based VSTO-AddIn for PowerPoint.
Each SlideLayout in powerpoint has a type. Is there way to get the type in an VSTO-AddIn? Up to now I just know how to get it from the SlideLayout.xml
I'm using the SlideSelectionChanged-event. The passed SlideRange has the attribute Layout but it throws a TargetInvocationException. I would like to get the layout of a SlideLayout-slide.
The important point is that the application is in SlideMaster-mode - not the common editing of content-slides.
private void Application_SlideSelectionChanged(SlideRange _slide)
{
_slide.Layout ... ?
}