setPageMargins example

Topics: User Forum
Nov 23, 2007 at 12:17 PM
Hi, is there any example on how to set page margins?
Coordinator
Nov 26, 2007 at 5:50 AM
The API documentation contains the necessary information, here's an example:

$objPHPExcel->getActiveSheet()->getPageMargins()->setLeft(...);
$objPHPExcel->getActiveSheet()->getPageMargins()->setTop(...);
....