Insert PDF into worksheet

Topics: User Forum
Jan 30, 2015 at 9:48 PM
Hi, Im trying to attach a PDF document into a worksheet, but I cant.
I already did it with an image using the next code:

require_once dirname(FILE) . '/Excel/Classes/PHPExcel.php';

$objPHPExcel = new PHPExcel();

$Image = imagecreatefromjpeg('image.jpg');
$objDrawing = new PHPExcel_Worksheet_MemoryDrawing();
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');

, but I want to add the PDF as an object in the worksheet, showing it as an icon,
is it possible?

Im using PHPExcel 1.8.0 in windows 7.