How To Rotate a Bitmap Image in 90-Degree Increments (186260)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q186260 SUMMARY
Bitmap rotation is a graphic effect that Visual Basic does not natively
offer. This article shows how to rotate a given image in 90-degree
increments. It allows you to rotate any image 0, 90, 180 or 270 degrees.
With a little work, the code can be modified to rotate to any angle, but
that is beyond the scope of this article.
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbBitmap kbhowto KB186260 |
---|
|