G
Guest
I am using the PrintPreviewDialog for preview document but status message
dialog box shows up which displays the page # being
printed.
But, I want this status dialog only while printing not while
previewing.
I have tried setting the PrintDocument.PrintController to
StandardPrintController. But the status windows is still popping up.
What is the recommeded way to bypass this status dialog in
PrintPreview?
My code is
PrintPreviewDialog objPrintPreviewDialog = new PrintPreviewDialog();
StandardPrintController pc = new StandardPrintController();
objPrintDocument.PrintController = pc;
objPrintPreviewDialog.Document = objPrintDocument;
objPrintPreviewDialog.ShowDialog();
BLM
dialog box shows up which displays the page # being
printed.
But, I want this status dialog only while printing not while
previewing.
I have tried setting the PrintDocument.PrintController to
StandardPrintController. But the status windows is still popping up.
What is the recommeded way to bypass this status dialog in
PrintPreview?
My code is
PrintPreviewDialog objPrintPreviewDialog = new PrintPreviewDialog();
StandardPrintController pc = new StandardPrintController();
objPrintDocument.PrintController = pc;
objPrintPreviewDialog.Document = objPrintDocument;
objPrintPreviewDialog.ShowDialog();
BLM