Maximize Print Preview?

℡╲_俬逩灬. 提交于 2019-12-01 11:41:36

问题


Is there any way to Maximize the Print Preview Dialogue?

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


回答1:


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



回答2:


For C#:

(PrintPreviewDialog1 as Form).WindowState = FormWindowState.Maximized;


来源:https://stackoverflow.com/questions/22381762/maximize-print-preview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!