locked
PlaceholderType: Mixed RRS feed

  • Question

  • In Microsoft Interop PowerPoint library, I found a PlaceholderType named “Mixed”. Can you please explain me the purpose and uses of this “Mixed” type placeholder?

    Please check the below code snippet for your reference.

    Thanks,

    Arun

    PowerPoint.Application ppApplication = null;

    ppApplication = new PowerPoint.Application();

    var Presentations = ppApplication.Presentations;

    var Presentation = Presentations.Open(@"Input.pptx", Office.MsoTriState.msoTrue, Office.MsoTriState.msoTrue, Office.MsoTriState.msoTrue);

    var Slides = Presentation.Slides;

    var slidee = Slides[1];

    var shapes = slidee.Shapes;

    shapes.AddPlaceholder(Microsoft.Office.Interop.PowerPoint.PpPlaceholderType.ppPlaceholderMixed, 100, 100, 100, 100);

    Presentation.Save();

    • Moved by Shu 2017 Monday, August 17, 2015 5:26 AM from VC++ forum
    Friday, August 14, 2015 12:57 PM

Answers

  • Hi Arun Prasad Matheshwaran,

    Thanks for posting in MSDN forum.

    This is office development issue and there is no C++ code in your post. And I find you already have a thread in General Office Development forum. So please follow up your original post and provide details reproducible sample, this will helps people have better understand on this issue.

    It seems that your question "what is PlaceholderType named “Mixed”" is answered by Mr. Monkeyboy in this thread: https://social.msdn.microsoft.com/Forums/office/en-US/f5850e08-b8c7-4d3b-baae-13fdb8780db8/placeholdertype-mixed?forum=officegeneral#f5850e08-b8c7-4d3b-baae-13fdb8780db8

    I will move this thread to off-topic forum. Thanks for your understanding.

    Best regards,

    Shu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Wednesday, August 19, 2015 7:56 PM
    • Marked as answer by Just Karl Friday, August 28, 2015 5:18 PM
    Monday, August 17, 2015 5:26 AM

All replies

  • I am unable to add the placeholder to the slide, while normally opening a “*.pptx” file,

    i am getting invalid enumeration value exception.

    Thanks,

    Arun

    • Merged by Shu 2017 Monday, August 17, 2015 5:18 AM duplicate
    Friday, August 14, 2015 12:52 PM
  • The PlaceholderType enumeration it has been mentioned that, byte value for the “Mixed” as -2. Can you explain me the reason regarding this value?

    In microsoft interop powerpoint

    Thanks,

    Arun

    • Merged by Shu 2017 Monday, August 17, 2015 5:16 AM duplicate
    Friday, August 14, 2015 12:56 PM
  • Hi Arun Prasad Matheshwaran,

    Thanks for posting in MSDN forum.

    This is office development issue and there is no C++ code in your post. And I find you already have a thread in General Office Development forum. So please follow up your original post and provide details reproducible sample, this will helps people have better understand on this issue.

    It seems that your question "what is PlaceholderType named “Mixed”" is answered by Mr. Monkeyboy in this thread: https://social.msdn.microsoft.com/Forums/office/en-US/f5850e08-b8c7-4d3b-baae-13fdb8780db8/placeholdertype-mixed?forum=officegeneral#f5850e08-b8c7-4d3b-baae-13fdb8780db8

    I will move this thread to off-topic forum. Thanks for your understanding.

    Best regards,

    Shu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Just Karl Wednesday, August 19, 2015 7:56 PM
    • Marked as answer by Just Karl Friday, August 28, 2015 5:18 PM
    Monday, August 17, 2015 5:26 AM