Thread: Modify a BMP
View Single Post
  #2 (permalink)  
Old 09-08-2006, 09:30 AM
Jordan's Avatar   
Jordan Jordan is online now
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,585
Last Blog:
Ext JS or Ext GWT
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

You need a PrintPageEventArgs passed through the function and then do:

Code:
// Draw a picture 
e.Graphics.DrawImage(Image.FromFile("C:\\pic.bmp"), e.Graphics.VisibleClipBounds);
After that you can use pens, brushes, drawlines and the whole thing on the image.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Reply With Quote