Can't we copy shape(s) from a PPT slide to word document in the orginal format in C#?

前端 未结 3 2035
旧时难觅i
旧时难觅i 2021-01-15 13:01

I tried to copy autoshape from PPT to word. but its copying as picture format. We cant edit the text or shape in word. How to avoid this?

Code I m using not giving e

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-15 13:37

    Obviously, Copy is not the right API

    CopySepcial might be what you need (though you'll have to look at docs yourself)

    I suggest recording a macro in Word, while you insert a single simple shape. Inspect the code generated in the macro and mirror that for building up the shapes as shapes in the target document.

提交回复
热议问题