How to create a custom page size in an Advanced PDF template

We can spcify the width and height of the page size with in the body tag.

For example to make a page size Width : 14.6 cm and Length : 20.8 cm.

We can covert either the cm to inches or millimeters or inches. Then specify the height and width inside the body tag.

<body width = “5.74in” height=”8.188in”.

We can also give the size as landscape along with this.

Leave a comment

Your email address will not be published. Required fields are marked *