PowerPoint losing Shape Tags in "Art::GVML ClipFormat" when using Clipboard.GetData() / Clipboard.SetData()

Bopibaer 1 Reputation point

I have a picture in PowerPoint with several shape tags on it. If I copy this picture to the clipboard, save the available data formats with Clipboard.GetData() and later try to restore it with Clipboard.SetData() I seem to lose the tags associated with the picture when pasting into PowerPoint (I can paste special as SVG or Microsoft Office Graphics Object).

I compared 1) clipboard data when copying the picture from PowerPoint and 2) clipboard data after my save and restore of the clipboard data and all the dataformats are the same and the sizes are also the same.

So why am I losing the tags and what can I do about it?

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,565 questions
{count} votes