Maximize Print Preview?

前端 未结 2 730
别那么骄傲
别那么骄傲 2021-01-16 03:01

Is there any way to Maximize the Print Preview Dialogue?

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

相关标签:
2条回答
  • 2021-01-16 03:05

    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
    
    0 讨论(0)
  • 2021-01-16 03:13

    For C#:

    (PrintPreviewDialog1 as Form).WindowState = FormWindowState.Maximized;
    
    0 讨论(0)
提交回复
热议问题