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
 
* "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
///
 
Back
Top