How to control row count of per page when print or printview?

Posted by: lenmentree on 8 September 2017, 2:17 pm EST

  • Posted 8 September 2017, 2:17 pm EST


    I want to contol the  row count of  per page when print or printview.For example,the spread has 20 rowcount data,I want to show 6 rowcount data of a page when print or printview.How I can do?

    The printInfo has no any event to deal with the situation.

  • Replied 8 September 2017, 2:17 pm EST


    You may set the PageBreak for Rows at the desired Row index In case of 20 rows if you want 6 rows to be printed per page you would need to set the pagebreak as follows,

               fpSpread1.Sheets[0].Rows<img src="/emoticons/emotion-14.gif" alt="Devil" />.PageBreak = true;
                fpSpread1.Sheets[0].Rows[12].PageBreak = true;
                fpSpread1.Sheets[0].Rows[18].PageBreak = true;

    I hope it will help you.


Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels