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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you print a JPG from code? 1

Status
Not open for further replies.

richrock316

Programmer
Jul 30, 2003
57
0
0
US
I have a feeling im missing something very simple, but how do you print a JPG or BMP to the printer using code?

Thanks
 
Something like;

'where Pdevice may be a PictureBox or the Printer object
Pdevice.PaintPicture LoadPicture(Path2BitMapFile$), x, y, wid, ht
 
Thanks Hughlerwill

That got me where i needed to go.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top