Вопрос

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