如何在pictureBox1中打印照片 [英] how to print photo in pictureBox1

查看:95
本文介绍了如何在pictureBox1中打印照片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用pictureBox1显示多张图片并从中打印图片

推荐答案

你无法显示多图片一个PictureBox - 它只显示它的Image属性中的一张图片。您可能会一个接一个地显示不同的图像,但具体如何,这将取决于您的应用程序及其设计工作的环境。



打印很简单,如果它是一个Winforms应用程序 - 只需使用 PrintDocument [ ^ ]和DrawImage方法。
You can't show "multi picture" in a PictureBox - it shows only a single picture from it's Image property. You could potentially show different images one after another, but exactly how you would do that would depend on you application and the environment in which it is designed to work.

Printing is pretty easy, if it is a Winforms app - just use a PrintDocument[^] and teh DrawImage method.


这篇关于如何在pictureBox1中打印照片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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