Loading images from defined size and area....

  • Thread starter Thread starter Ram
  • Start date Start date
R

Ram

Is it possible to load the image to a button contol so that I can load only
the desired part of the image file through programmatically ?
thanks
 
Thanks, can I get sample of code snippets on how to do that ?
Thank you very much.
 
* "Ram said:
Thanks, can I get sample of code snippets on how to do that ?

Skeleton:

\\\
Dim b As New Bitmap(...)
Dim g As Graphics = Graphics.FromImage(b)
g.DrawImage(...)
g.Dispose()
Me.PictureBox1.Image = b
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top