Importing InkML into PowerPoint via Shapes.AddInkShapeFromXML() method RRS feed

  • Question

  • Has anyone successfully used this PowerPoint v16.0 method in a VSTO add-in? Regardless of how the imkML param is formatted the method returns an HRESULT of E_FAIL (0x80004005). The AddInkShapeFromXML() method is either not supported by the object model or I am not passing the expected xml format. Anyone have a suggestion?
    Monday, July 6, 2020 3:41 PM

All replies

  • Convert inkml to image
    use it by direct import

    example in jupyter notebook:
    import inkml2img, glob, os

    Convert latex to image uses matplotlib to plot latex and save to image see inkml2img.latex2img function
    Inkml Data can be found in CROHME competition open dataset

    *inkml trace extraction credits to rep:
    Monday, July 6, 2020 3:48 PM
  • Thanks for the reply. If it was my call I'd take an approach like that but they want it as an Ink Shape so it can be animated with an Ink Replay / Rewind Effect within the presentation.
    Monday, July 6, 2020 4:53 PM