c# Openxml – Unable to change the slide size to 16×9 ratio

Home Forums Open-Xml-Sdk c# Openxml – Unable to change the slide size to 16×9 ratio

Tagged: , ,

This topic contains 1 reply, has 2 voices, and was last updated by  Eric White 7 years, 8 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4276

    Shrivathsan
    Participant

    I am using DocumentFormat.openxml dll and refered the below link to to create a powerpoint presentation.

    https://msdn.microsoft.com/en-us/library/office/gg278317.aspx

    Issue : Unable to change the slide size to 16×9 ratio.

    I could change the dimensions and size manually but Powerpoint is not set to 16×9.

    SlideSize slideSize1 = new SlideSize() { Cx = 12191085, Cy = 6858432, Type = SlideSizeValues.Screen16x9 };

    Similarly, I can set the animation effect to “Wheel” but in the powerpoint, the animation still shows as “fade”.

    AnimateEffect animateEffect1 = new AnimateEffect() { Transition = AnimateEffectTransitionValues.In, Filter = “wheel(1)” };

    Note: If i run the slide show then wheel animation is coming.

    What am i missing or is it a known issue/behavior of the openxml.

    #4277

    Eric White
    Keymaster

    Whatever you can do in the PowerPoint application, you can also do using Open XML.

    Watch screen-cast #13 in the following series:

    Introduction to Open XML

    You may also be interested in the other screen-casts in that series.

    Best, Eric

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.