How to add border to included image?

Topics: User Forum
Feb 12, 2014 at 8:52 AM
I'm using this 4 rows to add a pre-rendered image to my dinamically generated excel
    $objDrawing = new PHPExcel_Worksheet_Drawing();
    $objDrawing->setPath($pic_name);
    $objDrawing->setWorksheet($objPHPExcel->getActiveSheet());
    $objDrawing->setCoordinates('A23');
I'd like to simple add a gray or black solid border to the image... How ? I cannot modify the image rendering itself