Drawing Height and Width Units

Topics: Developer Forum, Project Management Forum, User Forum
Apr 13, 2011 at 4:11 PM


I can't figure out what units the height and width should be for a drawing object in PHPExcel. Is it pixels, cm?



Appreciate the help.


Apr 19, 2011 at 10:29 PM

The answer is pixels. Note that internally this is converted to PHP's quirky internal units when saving, based on an assumption of 72dpi. If your objects are images with a different print resolution, they may appear mis-sized when opening a saved file.