How to add WebExtensionPart to slidePart.

Home Forums PresentationML How to add WebExtensionPart to slidePart.

This topic contains 1 reply, has 2 voices, and was last updated by  Eric White 8 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3527

    princrai
    Participant

    Hi Eric,

    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.

    Thanks,
    Prince

    #3537

    Eric White
    Keymaster

    Hi Prince,

    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.

    -Eric

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.