3

Is there any way to Maximize the Print Preview Dialogue?

I could not see any Maximize property on the controls at properties window.

Kashish Arora
  • 900
  • 5
  • 25
  • 39
Graham Jones
  • 165
  • 4
  • 19

2 Answers2

5

It's not available in the properties page because you have to cast the PrintPreviewDialog to a Form in order to access those Form properties:

DirectCast(PrintPreviewDialog1, Form).WindowState = FormWindowState.Maximized
LarsTech
  • 80,625
  • 14
  • 153
  • 225
4

For C#:

(PrintPreviewDialog1 as Form).WindowState = FormWindowState.Maximized;