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
630
UltraPrintPreviewDialog, ability to choose which pages to print
posted

We have what we hope is a simple question, but one we haven't found an answer for yet.

We are using the UltraPrintPreviewDialog control to print preview the contents of an Ultragrid (windows).

Depending upon the contents of the grid there can be anywhere from 1 to 8 pages to print. Generally the user would print the entire page range, but there are times they may only need to print say page 2 through 4.

Is there a way when using the UltraPrintPreviewDialog control  to allow the user to pick which pages of the document to print?

 

 

Parents
No Data
Reply
  • 469350
    Suggested Answer
    Offline posted

    The PrintPreviewDialog doesn't really have anything to do with what pages get printed. That's up to the PrintDocument.

    So you probably want to show the inbox PrintDialog and allow the user to select the pages to print either before you show the PrintPreviewDialog or in the Printing event of the PrintPreviewDialog, which fires when the user clicks the Print button.

Children