Slides.InsertFromFile Method failure of copying formatting RRS feed

  • Question

  • Hello Friends,

    I am making a Powerpoint Addin using VSTO which inserts the custom slides in active presentation from a addin in Powerpoint.

    Thus when using 

    Slides.InsertFromFile Method

    I loose the formatting when copying all the slides from Source file to active presentation , my question is how to maintain the formatting of the copied content of source file.

    i read somewhere setting the slide master background style property but it does not work and throws an error.

    Please help me friends .


    Thanks in advance.


    Monday, July 25, 2011 12:34 PM

All replies

  • No Replies my friends ?

    I am anxiously waiting for the response..


    Thanks friends


    Monday, July 25, 2011 7:10 PM
  • Hi Mohit,

    Thanks for posting in the MSDN forum.


    As far as I know, the presentation will use only one format style for all of the slides. So if you copy, move, insert slide into a presentation it will use the style of the particular presentation.


    I hope it can help you.


    Have a good day,



    Tom Xu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, July 27, 2011 3:33 AM