Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A few questions about images. 1

Status
Not open for further replies.

Manch

Programmer
Jun 12, 2001
43
0
0
US
I have an application that will allow users to scan in images. Here are my questions:

1. Is the image box the only .Net control that can be used to dispay images in a Windows Forms application? (Not counting third party controls)

2. Is there a way to print an image from a picturebox?

I have not posted code because I have not begun to write it. I am just trying to decide how I am going to approach this.

Thanks,
Manch
 
You can render an image to a graphics object. So you can paint it to the background of your form, or anything else that will allow this. You can probably do it against a panel, etc.

Print an image with a PrintDocument. Look up the article in the VS help entitled "Printing Graphics in Windows Forms".
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top