In version 22.214.171.124 I am having a problem with images of very similar size displaying extremely differently in the same spreadsheet template. Below is the code I use to display Logo images.
If show_logo = "Y" Then
If My.Computer.FileSystem.FileExists(strLogoSmPath) Then
lUseImage = True
Dim image1 As Bitmap, imgHeight As Integer
image1 = New Bitmap(strLogoSmPath)
imgHeight = image1.Height
ws0.Pictures.Add(0, 0, strLogoSmPath, 100, 100)
The STW Image displays correctly as it frills up the height of the row as determined by imgHeight.
The IDM image displys at a SMALL fraction of its actual height and width.
I have attached bothe XLS fles and the images. Why is this happenning?