@andrey.potapov is there an easy way to find out if PowerPoint needs to be converted to HTML5 due to either video, audio or some animation? I’m trying to use that logic to determine what format to use PDF or HTML5. In case it’s just static content PDF will do otherwise it needs to be HTML5.
// Check if a presentation contains a video.
bool containsVideo = presentation.Videos.Any();
// Check if a presentation contains an audio.
bool containsAudio = presentation.Audios.Any();
// Check if a presentation contains an animation.
bool containsAnimations = presentation.Slides.Any(slide =>
slide.Timeline.MainSequence.Any() ||
slide.Timeline.InteractiveSequences.Any() ||
slide.Timeline.TextAnimationCollection.Any());
// Check if a presentation contains a slide transition.
bool containsTransitions = presentation.Slides.Any(slide =>
slide.SlideShowTransition.Type != TransitionType.None);