Ishwar Rimal
1 min readDec 27, 2018

--

Hi Abhijith C S sorry for super late reply.

If u have checked the webcontent page in electronjs.org, you would already have found the answer.

As per the description there,

pageSize String | Size (optional) - Specify page size of the generated PDF. Can be A3,A4, A5, Legal, Letter, Tabloid or an Object containing height and width in microns.

Hope this helps you.

--

--

Ishwar Rimal
Ishwar Rimal

Written by Ishwar Rimal

Senior FrontEnd Engineer at Intuit. 8 years experience. I write articles on JavaScript, React, Web Optimisation, Startups, Work Life Balance, etc. ❤️ JavaScrip

No responses yet