When I copy the clipboard data to C # using Clipboard.GetData(DataFormats.Html).ToString();, the .wmz files are saved in the temp path. (it is present in the section v:imagedata src)
There are math symbols in the source Word file, such as delta. And these are not Windows Media Player video files (which also have the extension “.wmz”). Then I copy this temporary file to a permanent location and update the path srcand clear the clipboard. But my new HTML content does not display the actual image (stored as ".wmz" format).
But for regular “.png” or “.jpg” files in HTML, this approach works fine. I only run into problems with these .wmz files.
Can someone help in properly converting these ".wmz" files to a browser-acceptable format?
source
share