Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
695
print preview issues
posted

hi i don't find a sub forum for printing so i decided to post it here. 

I am using Infragistics4.Win.UltraWinPrintPreviewDialog.v12.2 and having the following 2 questions

1. I have a list of print documents to be put together on the fly and show in the print preview dialog. i used the following to set print content

printDocument.RichTextBox.Rtf = sRtf;

the problem is it can only preview one at a time. I need something like this, i have 2 print documents. doc1 has 2 pages and doc2 has 3 pages. the print preview should show a total of 5 pages with first 2 show doc1 and last 3 show doc2. How can i do it?

2. i used the following to print the current page in the footer. 

printDocument.Footer.TextCenter = "[Page #]";

it works but i am wondering of it's possible to display something like "[Page # of ?]" with the question mark being the total number of pages.