|
-
August 19th, 2012, 04:12 PM
#4
Re: Rotating the picturebox image.
You didn't quote the error message you got for the code line you quoted, so I can only guess at the reason why you got it. Perhaps you're missing a using directive for the required namespace? At any rate, I don't think omitting the line would modify the behavior of the sample code in a "doesn't rotate" kinda way.
I don't have that music.bmp file, so I can't tell what it looks like, but note this: The rotation by 180 degrees plus vertical flip that the sample code performs, effectively is the same as no rotation plus a horizontal flip. So if the image this is applied to is (close to) symmetrical to its vertical axis, the observable result of te operation will be (close to) none. (However, if the former actually applies to the image originally intended to be used with the sample code by MS, it actually is a rather poor sample...)
Last edited by Eri523; September 6th, 2012 at 11:28 AM.
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|