How to Reduce Margins on PDF Export

QuestionsHow to Reduce Margins on PDF Export
Faisal Ayub asked 2 years ago

How Can I Reduce Margins on PDF Export. Left and Right Margins

1 Answers
Abu Ghufran Staff answered 2 years ago

You can define following at the top of the code, adjust values accordingly.

define("PDF_MARGIN_LEFT",5);
define("PDF_MARGIN_RIGHT",5);
define("PDF_MARGIN_TOP",5);
define("PDF_MARGIN_BOTTOM",15);
_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

0 + 4 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?