I would like to find a way either by tutorial or sample code, to be able to have 1 large bmp and select parts of the image to view, i.e like a fruit machine reel, have it on part of the image and the click on a button and it scrolls down the image untill i press the button again and it should stop.
I have searched for a good few hours now, and have drawn a blank any ideas what i am looking for ????
or if anyone can help it would be great.
many thanks
I am stuck not sure what to look for !
Page 1 of 11 Replies - 359 Views - Last Post: 15 January 2010 - 03:13 AM
Replies To: I am stuck not sure what to look for !
#2
Re: I am stuck not sure what to look for !
Posted 15 January 2010 - 03:13 AM
If you want to select just a portion of your original image, you would do something like this:
Hope this helps...
Bitmap image = new Bitmap(@"C:\Ales\Temp\s3.jpg"); Rectangle rectangle = new Rectangle(0, 0, 200, 100); Bitmap partial = image.Clone(rectangle, System.Drawing.Imaging.PixelFormat.Undefined);
Hope this helps...
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|