This question already has answers here:
Closed 3 years ago.
I am using itext PDF, and I need to set PDF document size as German Std. Fanfold(8 1/2" x 12"),I don't know how set Inches In Itext document.
// Now I can set paper size as A4 but i need to set 8 1/2" x 12" or German Std. Fanfold size
document(name: fileName,pageSize: PageSize.A4,leftMargin:8, rightMargin:8, topMargin:8, bottomMargin:3)
Thanks in advance.