question

97355583 avatar image
0 Votes"
97355583 asked emilyhua-msft edited

Embed powerpoint in desktop programs

I use the Microsoft.Office.Interop.PowerPoint API to embed PPT into a desktop program, and encounter the following problems:

  1. The PPT will appear first and then be embedded in the program. Can it be avoided?

  2. Use PpSlideShowType.ppShowTypeWindow mode to display and open the pen, sometimes the pen cannot be used: can't draw a line, line will be displayed after draw end, the line drawing is not complete after the window is enlarged and so on.106824-sss.png

  3. When the PPT has been opened directly, Microsoft.Office.Interop.PowerPoint.Application app = new Microsoft.Office.Interop.PowerPoint.Application(); will throw an exception. 106783-sss.png

Is there any way to solve these problems? Thank you!


office-addins-dev
sss.png (411.4 KiB)
sss.png (1.3 MiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

emilyhua-msft avatar image
0 Votes"
emilyhua-msft answered

@97355583
As your issue is more realted to development, but tag "office-powerpoint-itpro" focus more on general issue of PowerPoint client, I would modify the tag.

To better help you, you may post new threads on the forums shown on following link.
PowerPoint add-ins developer community

Thanks for your understanding.


If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.