Disable Lock Aspect Ratio

Topics: Developer Forum, User Forum
Oct 3, 2011 at 8:05 AM

Hi, I'm newbie for using PHPExcel Library. I used it with CakePHP framework.
I've tried to insert an image into excel file. But, when I try to set height and width using setHeight(), setWidth() or setHeightAndWidth I have same problem.
The image size doesn't fit with the input, for example, I set the image size like below:


When I look image size in Excel file, width of this image is set like the input, but for height, it's corresponding with the width. When I check the scale of this image, I see that "Lock aspect ratio" is checked. I think it's the problem that the image size doesn't fit with the input.
Can anybody tell me how to disable this Lock Aspect Ratio,.?


May 24, 2012 at 7:34 AM

... hello any reply or respond to this post?? .. 
... i got the the same problem ..