locked
Page break - iTextSharp RRS feed

  • Question

  • User-1579656392 posted

    Hi,

    I am using iTextSharp to show my data in the pdf file. I have data based on categories. Now I am trying to them in this way: Whenever new category displays, it should start form the new pdf page so that two categories won't be in the same page. Is there any example or idea to have page break in each section ?

    Thursday, August 19, 2010 11:33 AM

All replies

  • User-33420011 posted

    document.NewPage();


    Thursday, August 19, 2010 2:23 PM
  • User-1579656392 posted

    I am pulling the data from the datagrid. Will document.NewPage() work for that too ?


    Thursday, August 19, 2010 2:48 PM
  • User-1579656392 posted

    document.NewPage() is not working in mine.Any other ideas ?  

    Monday, August 30, 2010 11:00 AM