Printing related

Posted by: vkempanna on 8 September 2017, 1:11 pm EST

  • Posted 8 September 2017, 1:11 pm EST

    Hi,


    I am trying to print spread with several columns using OwnerPrintDraw method,


    If there are 100 rows and 10 columns  to print ,  and if only 20 rows and 5 columns can be printed in a page ,first all the rows for 5 columns will be printed and after that remaining rows for other 5 columns be printed ...


    Is it possible to print all the 20 rows for first 5 columns and  then print 20 rows for next 5 columns, till all 100 rows are printed.I am expecting continuity of columns.


    Also after the spread is been printed how can i get the position of rectangle bottom.


    I need this position as i have to print some data after printing spread .


    Regards


    Vinutha


     


     

  • Replied 8 September 2017, 1:11 pm EST

    Vinutha,


    To change how the pages are printed out from the Spread control, you would need to set the PageOrder property of the PrintInfo structure to OverThenDown.


    You should need to pass in a rectangle to print the Spread. Then, you should know the height of the printed Spread. If you do not have this information, you would need to calculate it by calculating the height of the ColumnHeader rows + the height of each row to be printed on that page.

Need extra support?

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

Learn More

Forum Channels