How to set presentation properties in C++? (PowerPoint 2010) RRS feed

  • Question

  • I am working in vc++2010,using MFC and PowerPoint 2010 c++ automation interfaces.

    Following is my code:

    // First,I load PowerPoint 2010 c++ automation library.
        CApplication0 app; 
        CPresentations0 Presentations;
        CPresentation0 Presentation;
        long lValue;
        //...Do initializtion work
        //Now I can set presentation property

    Then I want to set another property,such as "serverZoom",but I can't find the interface in CPresentation0.h.There are many properties in presentation which you can find in ISO_IEC_29500-1_2012,chapter 19,accurately presentation part.

    I learn that there are codes for VB and C#,please visit

    My question is:

    Is there a way to set presentation properties(such as "serverZoom","firstSlideNum") in C++?


    Tuesday, March 27, 2018 9:12 AM

All replies