In version 4.5.0.7 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.Cells.SetRowHeight(0, imgHeight)
ws0.Pictures.Add(0, 0, strLogoSmPath, 100, 100)
End If
End If
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?
Thanks...