문제

Is there any way to Maximize the Print Preview Dialogue?

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

도움이 되었습니까?

해결책

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

다른 팁

For C#:

(PrintPreviewDialog1 as Form).WindowState = FormWindowState.Maximized;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top