如何设置“两页”在PrintPreviewDialog? [英] How do I set "Two Pages" in PrintPreviewDialog ?

查看:265
本文介绍了如何设置“两页”在PrintPreviewDialog?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在PrintPreviewDialog中设置Two Pages?



Attension!

我需要将预览设为两页







换句话说,当您打算在PrintPreviewDialog中打印多个页面时。它只显示第一页。然后你可以点击那些放在菜单上的按钮。



所以我需要的是当对话框打开时,显示为两页,而不是第一页。



我需要一些代码如下:

How do I set "Two Pages" in PrintPreviewDialog ?

Attension!
I need the preview to be as "Two Pages"



In other word, when you are going to print multiple pages in PrintPreviewDialog. it shows just the first page. And then you can click on buttons those place up there on menu.

So what I need is when the dialog opens, shows as two pages, not the first page.

I need some codes like below:

PrintPreviewDialog1.SeelectedButton.TwoPages()



(我希望我可以说出我想要的东西)



谢谢。


(I hope I could say what I want)

Thanks.

推荐答案

PrintPreviewDialog1.PrintPreviewControl.Columns = 2



(参见 MSDN [ ^ ])
PrintPreviewDialog1.PrintPreviewControl.Columns = 2

(See MSDN[^])


这篇关于如何设置“两页”在PrintPreviewDialog?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆