Jump to content

Pdf Margins


ylli

Recommended Posts

Hello,

 

I am generating pdf using this code:

 

$pdf = new PDF($this->boxes, PDF::TEMPLATE_AIRWAY,Context::getContext()->smarty);
$pdf->render(true);
 
I want to know if is there a way to change the margins only for this generated pdf not for all the pdfs (that i can change in PDFGenerator.php). The object $pdf must have some method to edit or set margins only for this pdf that is generated.
 
Anyone can help ?
 
Thanks
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...