dear support,
thnak you for this product
I am having some problems reading an external jpeg file into a picture.
( I have added a picyture in the Visio and during processing, I am replacing the picture with a different picture ).
I am calling
visio.Pages(0).Shapes(...).ForeignData.Value = System.IO.File.ReadAllBytes(...)
The problem is that there seems to be a large amount of compression when the size differs.
How can I find out the size in pixels of the shape that I am adding my picture in ? If i know that, I can preprocess my jpeg file and apply suitable compression myself.
Any ideas ?