I am using asp.net webforms.
I want to generate pdf from scratch.
pdf pages size should be A4.
and based on content length i need to generate multiple pages in the PDF.
I am using below code.
but the above code generating only single page.
how can i generate multiple pages based on content. and provide me any examples.