A
Anne DeBlois
Hi,
I am currently testing the printing features of Visual Studio 2005 (VB.NET)
We want to release a database application that prints label pages. The
labels must contain a picture box.
I found this code to print an image:
e.Graphics.DrawImage(Image.FromFile("c:\\dev\\Projects\\Impression\\merci.png"),
20, 750)
With this code, the picture will print with its original dimensions. Is it
possible to change this line with a picturebox or any control that allows us
to resize the image (and keep its proportions) within a limited space?
Thanks in advance!
ANNE DEBLOIS
I am currently testing the printing features of Visual Studio 2005 (VB.NET)
We want to release a database application that prints label pages. The
labels must contain a picture box.
I found this code to print an image:
e.Graphics.DrawImage(Image.FromFile("c:\\dev\\Projects\\Impression\\merci.png"),
20, 750)
With this code, the picture will print with its original dimensions. Is it
possible to change this line with a picturebox or any control that allows us
to resize the image (and keep its proportions) within a limited space?
Thanks in advance!
ANNE DEBLOIS