Maximize Print Preview?

前端 未结 2 731
别那么骄傲
别那么骄傲 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
    

提交回复
热议问题