@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);
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.