In "Sample code to create pdf programmatically" there is code for generating a PDF with multiple pages, but I can't understand where I have to put or implement that code .
First answer: generate PDF that I've already done in my project.
Second Answer: for multiple page in that I am confuse. Can anyone tell me where I put this code to generate a PDF with multiple pages?