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