Open SandMoshi opened 6 years ago
fairly sure this wont work. cant keep open contexts. you wanna pause them between switching. and while this technically should work it will create a bloated pdf. model you document separately, determining how each pages should look like, and only then write the pdf as a whole, page by page.
Gal.
Thank You, that makes sense.
I have long column like content that is being written to the left half of a page (page 1) but is overflowing so I need to create page 2 and finish writing the content to page 2 before going back to page 1 and writing to the right hand side.
I created code that will allow me to store the pages (page 1 and 2) in an array and also store the contexts in an array so that I can easily switch between the contexts I am writing to.
However, the new pages I create is empty even when I try to write to it's context
Here is the function that gets called when I'm ready to create page 2 and write a test statement on it.