在单独的页面上打印多张图像 [英] Print Multiple Images on separate pages

查看:89
本文介绍了在单独的页面上打印多张图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友,

我正在使用C#开发Windows应用程序,其中在SQL数据库(字节码格式)中存储了10张图像.

现在,我想检索该图像并预览并打印.

我尝试使用

Dear friends,

I am developing a windows application using c# in which i have 10 images stored in my SQL database (byte code format).

Now i want to retrieve that images and preview them and print them.

I tried with a

printDocument

,但它一次只能预览和打印一张图像.有什么解决方案可以让我拍摄所有图像进行预览并在单独的页面上打印.

提前谢谢.

:-)

but it allows me to preview and print only one image at a time. Is there any solution so that i can take all images for preview and print on separate pages.

Thanks in advance.

:-)

推荐答案

如本例所示: HasMorePages [
As you can see in this sample: http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.printpage.aspx[^], PrintPageEventArgs has a property called HasMorePages[^]. You can use this to add more and more pages - images in your case.


这篇关于在单独的页面上打印多张图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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