none
PowerPoint: How to read Video plays FullScreen by c# RRS feed

  • Question

  • Hey Guys!

    I am using PowerPoint 2013. If you insert a video on the slide, you can check at: Video Tools => Playback => "Play Full Screen"

    How do I get/set this checkbox by C# (Interop Object Model)?

    At Edit Mode, I know its possible to use:

    If Application.CommandBars.GetPressedMso("MoviePlayFullScreen") = False Then _
     Application.CommandBars.ExecuteMso ("MoviePlayFullScreen")

    Workarounds like setting the video to fullscreen by coordinates oder using OLE Stuff like:

    With oplayer.OLEFormat.Object 
            .URL = "C:\Users\Public\Videos\Sample Videos\Wildlife.wmv" 
            .fullScreen = True 
            .windowlessVideo = True 

    are not working. I need to be able to get/set it by code at Edit Mode and get it on a running slideshow.

    I searched already at this location:
    • Shape.OLEFormat.Object
    • Shape.PictureFormat
    • Shape.PictureFormat.Crop
    • Shape.AnimationSettings
    • Shape.AnimationSettings.PlaySettings
    • Shape.MediaFormat
    • Slide.TimeLine.MainSequence
    • Slide.TimeLine.InteractiveSequences
    • View.Player
    I even tried to select the shape a runtime to execute "Application.CommandBars.GetPressedMso", but it didnt work.

    Wednesday, February 15, 2017 9:28 AM

Answers

  • Hi dexit2k,

    I already suggest you the possible solution for your requirement in the thread below.

    PowerPoint: How to read Video plays FullScreen by c#

    I try to search the powerpoint object model but as I mentioned before there is nothing that can help you.

    no any direct property, method available to access that checkbox.

    we will try to look forward in this issue, if we find something useful we will let you know about that.

    Regards

    Deepak


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Marked as answer by dexit2k Thursday, February 16, 2017 7:33 AM
    Thursday, February 16, 2017 1:38 AM
    Moderator