Enable "Current Page" in PrintDialog

Posted by mizipzor on Stack Overflow See other posts from Stack Overflow or by mizipzor
Published on 2010-06-09T07:43:46Z Indexed on 2010/06/09 8:32 UTC
Read the original article Hit count: 199

Filed under:
|
|
|
|

Im using a System.Windows.Controls.PrintDialog to let the user print one or more pages from my application. This is what I currently got:

        PrintDialog printDialog = new PrintDialog();

        printDialog.PageRangeSelection = PageRangeSelection.AllPages;
        printDialog.UserPageRangeEnabled = true;

        if (printDialog.ShowDialog() == true)
        {
            // do print ...
        }

Im looking for the option to enable the Current Page radio button in the dialog. How to enable it?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET