Looks like there is no support for adding WebExtensionPart in the PresentationBuilder code. I was trying to add WebExtensionPart to the slidePart but it was giving me error saying “The part cannot be added” . Something like this
WebExtensionPart webExtensionPart1 = slidePart1.AddNewPart<WebExtensionPart>(“rId2”);
Do you know if there is I can add webextensionpart to the slide.
Yes, you are right, this is not a current feature of PresentationBuilder. Some amount of work would need to be done in order to support this. Currently, this work is not on the schedule, though.
One possible way to approach this issue – use PresentationBuilder as necessary to assemble presentations that do not contain WebExtensionPart. Then use System.IO.Packaging to add the WebExtensionPart to your presentation. There are no restrictions for adding / deleting parts when using System.IO.Packaging directly.
You must be logged in to reply to this topic.