JanPRO Well-Known Member Licensed User Longtime User Oct 12, 2017 #1 Hello, I need to create a PDF document with different page sizes. Currently I am using a Canvas for this, however it's only possible to set the PDF size for the whole PDF but not for specific pages. Is there any solution to create a PDF with different page sizes? One solution is to use Apple's new PDFKit, which allows to merge PDF documents. But I guess the performance is quite bad when I create the PDF documents separately and then merge them ... Any idea? Jan
Hello, I need to create a PDF document with different page sizes. Currently I am using a Canvas for this, however it's only possible to set the PDF size for the whole PDF but not for specific pages. Is there any solution to create a PDF with different page sizes? One solution is to use Apple's new PDFKit, which allows to merge PDF documents. But I guess the performance is quite bad when I create the PDF documents separately and then merge them ... Any idea? Jan
Erel B4X founder Staff member Licensed User Longtime User Oct 13, 2017 #2 I don't think that it is possible. New PDF pages are created with CGPDFContextBeginPage and it doesn't accept a size parameter (mediabox). Upvote 0
I don't think that it is possible. New PDF pages are created with CGPDFContextBeginPage and it doesn't accept a size parameter (mediabox).