ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Inserting CGM images in Excel changes image aspect ratio (https://www.excelbanter.com/excel-programming/305359-inserting-cgm-images-excel-changes-image-aspect-ratio.html)

Dinesh[_3_]

Inserting CGM images in Excel changes image aspect ratio
 
I am using the ActiveSheet.Pictures.Insert
(sFilename).select command to insert a picture into an
excel spreadsheet. The picture is of type CGM. Under
certain conditions (unknown), Excel changes the picture
size to fit a 1" x 1" box. Other times it leaves the
aspect ratio as it was in the original image.

Does anyone know what this command is doing and how is
the logic to determine when to size or not size work?



All times are GMT +1. The time now is 11:20 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com